I have
tbl_ticket_categories(id , category_name , description , site_referers_id)
tbl_ticket_repliers(id , user_id , category_id , site_referers_id)
tbl_users(id , role_id , username , password )
I want to select all category_name
and description
from tbl_ticket_categories
where site_referers_id = 1
and also those username
whose user_id
is in tbl_ticket_repliers
.