Jump to content

how do I put a WHERE statement in with a join?


jeff5656

Recommended Posts

Very basic question to all you, but I am new to using Joins.  How do I put in WHERE todo.signoff_status = 'a'

 

$consultsq3 = "SELECT * FROM ild INNER JOIN to ON icu.id_incr = todo.pt_id AND icu.id_incr = ' " . $row['id_incr'] . " ' order by todo.todo_date"; 

Thanks and sorry for this easy question :-)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.