QUERY:
SELECT vehicle.id, image.whn, image.reg, vehicle.keeper FROM vehicle, image, permit WHERE image.camera = 10 AND image.whn = 2007-02-25 AND image.reg IN (SELECT reg FROM permit);
Explanation:
Here we need to select the vehicle captured by camera 10. So image.camera = 10 condition is included.
Also, reg number should be in the permit of the vehicle.
How do i fix my above code 4. Result: Obtain a list of every vehicle passing...