2SELECT * FROM `locality` WHERE url = 'cremona-ab' LIMIT 1
4SELECT * FROM `region` WHERE id = 168 LIMIT 1
1SELECT * FROM `category` WHERE url = 'campground' LIMIT 1
6SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 14309 AND category_id = 106 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14309 AND category_id = 106
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14309 AND category_item.category_id = 106 ORDER BY item.name LIMIT 0,24
1SELECT * FROM `region` WHERE id IN ('168') LIMIT 1
1SELECT * FROM `locality` WHERE id IN ('14309') LIMIT 1
1SELECT * FROM `photos` WHERE `item_id` IN ('211655')
2SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('211655')
1SELECT * FROM `category` WHERE id IN ('96','106','107','108') LIMIT 4
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14309 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','105','106','107','108','109','110','114','117','118','119','120','121','128','129','130','133','134','136','137','144','155','159','164','171','178') ORDER BY name
2SELECT * FROM counts where updated="2024-04-17" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-17" and table_name like 'news'
1SELECT * FROM `category` ORDER BY name
1SELECT * 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
1SELECT * FROM `region` WHERE id IN ('169','168') LIMIT 2
1SELECT * FROM `locality` WHERE id IN ('14781','14380') LIMIT 2
1SELECT * FROM `photos` WHERE `item_id` IN ('281976','281977','281978','281979')
1SELECT * 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 ('171') LIMIT 1