Currently I have a table named timetable (jobid, day) and having values of:
J001 Wed
J002 Thu
J002 Fri
:
:
J199 Mon.
I also have another table named job (jobid,description) and having values of:
J001 Tiling
:
:
J199 Soldering
J200 New job
I want to insert a PENDING value for all jobid not found in the table timetable but found in the table job. Please advice me on the SQL statement I should construct to achieve this purpose.
TIA.
Start Free Trial