Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- tbl_subcategory.category_id
- FROM
- tbl_catalogue
- LEFT JOIN tbl_subcategory ON
- tbl_catalogue.sub_category_id = tbl_subcategory.id
- LEFT JOIN tbl_category ON
- tbl_subcategory.category_id = sub_category_id
- WHERE tbl_catalogue.sub_category_id = 16
Add Comment
Please, Sign In to add comment