I am looking for some help in creating the correct SQL for this scenario...
Two table Model and Serials simplified
Model
-----
CODE | MAKE | MODEL
Serials
-------
CODE (FK) | SERIAL
I want to retrieve the CODE, MAKE AND SERIAL where the MAKE = 'some value' I only want the distinct CODES though...