I have this query:
SELECT st.st_id, st.id, st.name, at.status, at.date
FROM st,at
WHERE st.st_id = at.at_id;
but I want the result return all of st table, if st.st_id exist in at.st_id, the status column is what in the at table, if not the status is 'H', anyone can help?
this is my table column
sttable inattableat_idorst_id? I ask you this question because I don't understand why you sayWHERE st.st_id = at.at_id;