0 | SELECT * FROM `locality` WHERE url = 'collingwood-on' LIMIT 1 |
0 | SELECT * FROM `region` WHERE id = 176 LIMIT 1 |
0 | SELECT * FROM `category` WHERE url = 'finance' LIMIT 1 |
3 | SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 16587 AND category_id = 97 GROUP BY locality_id, category_id, price_level |
0 | SELECT COUNT(*) FROM `category_item` WHERE locality_id = 16587 AND category_id = 97 |
2 | SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 16587 AND category_item.category_id = 97 ORDER BY item.name LIMIT 0,24 |
0 | SELECT * FROM `region` WHERE id IN ('176') LIMIT 1 |
0 | SELECT * FROM `locality` WHERE id IN ('16587') LIMIT 1 |
0 | SELECT * FROM `photos` WHERE `item_id` IN ('29744','29679','29575','29783','29864','30282','30009') |
1 | SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('29744','29679','29575','29783','29864','30282','30009') |
0 | SELECT * FROM `category` WHERE id IN ('96','97','127','100','124','166','126') LIMIT 7 |
2 | SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 16587 GROUP BY locality_id, category_id |
1 | SELECT * FROM `category` WHERE `id` IN ('96','97','99','100','102','103','104','105','107','110','114','115','116','117','118','119','120','121','124','126','127','128','129','130','131','133','135','136','137','138','139','140','141','142','143','144','145','148','149','151','152','153','154','155','156','157','158','159','160','165','166','174','178') ORDER BY name |
0 | SELECT * FROM counts where updated="2024-04-24" and table_name like 'news' |
0 | SELECT * FROM counts where updated="2024-04-24" and table_name like 'news' |
1 | SELECT * FROM `category` ORDER BY name |
1 | SELECT * 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 |
0 | SELECT * FROM `region` WHERE id IN ('178','176') LIMIT 2 |
0 | SELECT * FROM `locality` WHERE id IN ('18433','16704') LIMIT 2 |
0 | SELECT * FROM `photos` WHERE `item_id` IN ('80958','80959','80960','80961') |
0 | SELECT * 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 |
0 | SELECT * FROM `region` WHERE id IN ('168') LIMIT 1 |