3SELECT * FROM `locality` WHERE url = 'iroquois-on' LIMIT 1
3SELECT * FROM `region` WHERE id = 176 LIMIT 1
2SELECT * FROM `category` WHERE url = 'convenience-store' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 16797 AND category_id = 115 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 16797 AND category_id = 115
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 16797 AND category_item.category_id = 115 ORDER BY item.name LIMIT 0,24
1SELECT * FROM `region` WHERE id IN ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('16797') LIMIT 1
1SELECT * FROM `photos` WHERE `item_id` IN ('301281')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('301281')
2SELECT * FROM `category` WHERE id IN ('96','99','115') LIMIT 3
2SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 16797 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','101','102','103','104','106','107','108','110','111','113','114','115','117','118','119','120','121','123','124','126','127','128','129','130','131','132','133','138','139','143','154','156','159','162','164','167','175') ORDER BY name
4SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
2SELECT * FROM `category` ORDER BY name
2SELECT * 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
0SELECT * FROM `region` WHERE id IN ('178','171') LIMIT 2
2SELECT * FROM `locality` WHERE id IN ('17690','18052','17661','15457') LIMIT 4
1SELECT * FROM `photos` WHERE `item_id` IN ('81682','81683','81684','81685')
2SELECT * 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
1SELECT * FROM `region` WHERE id IN ('168') LIMIT 1