hi i need to display values from multiple tables by a single mysql query by userid. i'm having 6 tables followings...
country: countryid, country
state: stateid, statename, countryid
city: cityid, city, stateid.
categories: categoryid, category_name.
sub_categories: sub_category_id, sub_category_name.
users: userid, username, countryid, stateid, city, category_id and sub_category_id.
Now i want to display all details by userid. i written query and after it displays only id's for country, state, category, and sub_category and not display their names. i'm using select statement and as well as join statement. but not get exact output. i'm have basic knowledge in joining tables query. please give idea or query to display my output.