i have 3 tables.
table category has 2 fileds. they are
id, category_name
table classify has 2 fields, they are
category_id, customer_id
table customer has 3 fileds, they are
id, address, phone
i need to query the db and find out what category.category_name is when classify.customer_id=5
i have tried it so many times. Help me out. Thx.