Hello all. I have this query which is apart of a search menu thing.
What I need this query to do is:
SELECT my variables FROM makers, inventroy WHERE the maker id IS FOUND IN table inventory.
I know that isnt a realy query, but it explains what I need.
here is what I have so far. Any help would be great!
Thanks!
$distinct_make = "SELECT m.make_id, m.maker, i.year, i.make, i.model, i.trim, i.ext_color ";
$distinct_make .= "FROM ".$prefix."manufacturers as m, ".$prefix."inventory as i";
$distinct_make .= " WHERE m.maker!='Not Available'";