table listing(id,category)
table listing_photo(listing_id,path)
query for these two tables
Code MySQL:"SELECT a.* , b.* FROM listing a LEFT OUTER JOIN listing_photo b ON b.listing_id = a.id WHERE a.id = $id"
table dictionary(abbreviation, meaning)
query for this table
Code MySQL:"SELECT * FROM dictionary WHERE abbreviation LIKE 'a.category%' "
Can you help me combine these two queries ?










Bookmarks