May be a silly question, but if I cannot make a query work can i combine the results of 2 different queries into 1 record set?
can we combine records from :
SELECT RESTNAME AS SET1 FROM RESTAURANTS WHERE RESTCITY = '$city'
SELECT RESTNAME AS SET2 FROM RESTAURANTS WHERE RESTZIP = '$zip'
I know this is an easy example and we can combine them in 1 query, but for complicated purposes is there a way to combine both sets and sort the full set ....
somthing like JOIN SET1 ON SET2 ???
can we combine records from :
SELECT RESTNAME AS SET1 FROM RESTAURANTS WHERE RESTCITY = '$city'
SELECT RESTNAME AS SET2 FROM RESTAURANTS WHERE RESTZIP = '$zip'
I know this is an easy example and we can combine them in 1 query, but for complicated purposes is there a way to combine both sets and sort the full set ....
somthing like JOIN SET1 ON SET2 ???