Hi
I have 2 tables:
USER
Userid
Username
Cityid
CITY
Cityid
Cityname
I search all users that have city set:
Select t1.userid, t1.username, t1.cityid, t2.cityid, t2.cityname FROM user as t1, city as t2
Where t1.cityid = t2.cityid
Search outputs all information into a query...