0SELECT * FROM `locality` WHERE url = 'lambton-shores-on' LIMIT 1
0SELECT * FROM `region` WHERE id = 176 LIMIT 1
0SELECT * FROM `category` WHERE url = 'car-dealer' LIMIT 1
0SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 16849 AND category_id = 124 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 16849 AND category_id = 124
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 16849 AND category_item.category_id = 124 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('16849') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('4585','414399','38761','4705')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('4585','414399','38761','4705')
0SELECT * FROM `category` WHERE id IN ('96','124') LIMIT 2
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 16849 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','106','107','108','109','110','111','113','114','115','116','117','118','119','120','121','122','123','124','125','126','127','128','129','130','131','132','133','134','136','137','138','139','141','142','143','144','145','148','149','150','151','152','154','155','156','158','159','161','162','164','165','166','167','168','173','174','175') ORDER BY name
0SELECT * FROM counts where updated="2024-04-14" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-14" and table_name like 'news'
0SELECT * 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
0SELECT * FROM `region` WHERE id IN ('169') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15001','14937','14979') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('263162','263163','263164','263165')
0SELECT * 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