Basically I have 2 tables: uclk_user and uclk_task
uclk_user table has user_id, name, postcode
uclk_task table has user_id, job_id, description, fully_completed, date_due
I want to include the user name from the uclk_user in my task query below...
Obviously user_id is the key.
select job_id, user_id, fully_completed, description, date_due
from uclk_task
WHERE date_due <= NOW() AND fully_completed = 0
ORDER BY date_due ASC
How this should be done?