please help me with this
I have two tables,
the first one is province with province_id(primary key), province_name
, propose that province_id
could be null
the second is staff with staff_id(primary key), staff_name, province_id
the question is display staff_id, staff_name, province_name
, and any staff who does not belong to any province, display "none", use only one query
I did this
SELECT staff_id, staff_name, province.province_name
FROM staff
INNER JOIN province
ON staff.province_id = province.province_id;
Please help me to insert none value for those staff who not belong to any province.