6SELECT * FROM `locality` WHERE url = 'ayers-cliff-qc' LIMIT 1
8SELECT * FROM `region` WHERE id = 178 LIMIT 1
4SELECT * FROM `category` WHERE url = 'post-office' LIMIT 1
3SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17440 AND category_id = 98 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17440 AND category_id = 98
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17440 AND category_item.category_id = 98 ORDER BY item.name LIMIT 0,24
1SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
1SELECT * FROM `locality` WHERE id IN ('17440') LIMIT 1
1SELECT * FROM `photos` WHERE `item_id` IN ('41022','406921')
3SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('41022','406921')
1SELECT * FROM `category` WHERE id IN ('96','97','98') LIMIT 3
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17440 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','101','102','103','104','107','108','110','115','118','119','120','121','123','125','127','128','129','130','131','132','133','134','136','140','143','144','148','151','154','155','161','162','164','169') ORDER BY name
13SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
1SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
2SELECT * FROM `category` ORDER BY name
7SELECT * FROM `item` f JOIN ( SELECT RAND() * (SELECT MAX(id) FROM `item`) AS max_id ) AS m WHERE f.id >= m.max_id ORDER BY f.id ASC LIMIT 4
2SELECT * FROM `region` WHERE id IN ('168') LIMIT 1
1SELECT * FROM `locality` WHERE id IN ('14302') LIMIT 1
1SELECT * FROM `photos` WHERE `item_id` IN ('223621','223622','223623','223624')
3SELECT * FROM `locality` f JOIN ( SELECT RAND() * (SELECT MAX(id) FROM `locality`) AS max_id ) AS m WHERE f.id >= m.max_id ORDER BY f.id ASC LIMIT 7
0SELECT * FROM `region` WHERE id IN ('168') LIMIT 1