SELECT * FROM catalog_pages WHERE caption = 'PageName'
SELECT * FROM catalog_items WHERE page_id IN (SELECT id FROM catalog_pages WHERE caption = 'PageName')
SELECT * FROM catalog_items WHERE page_id = '#'
To quickly find a catalog page using page name
Code:SELECT * FROM catalog_pages WHERE caption = 'PageName'
To locate all of the catalog_item values from a catalog page using Page Name
Code:SELECT * FROM catalog_items WHERE page_id IN (SELECT id FROM catalog_pages WHERE caption = 'PageName')
To locate all of the catalog_item values from a catalog page using Page ID
Code:SELECT * FROM catalog_items WHERE page_id = '#'
SELECT * FROM FURNITURE WHERE id IN (SELECT catalog_items.item_id FROM catalog_items WHERE page_id IN (SELECT id FROM catalog_pages WHERE caption = 'PageName'))