0 | SELECT * FROM `locality` WHERE url = 'saint-adolphe-dhoward-qc' LIMIT 1 |
0 | SELECT * FROM `region` WHERE id = 178 LIMIT 1 |
0 | SELECT * FROM `category` WHERE url = 'health' LIMIT 1 |
2 | SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17968 AND category_id = 118 GROUP BY locality_id, category_id, price_level |
0 | SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17968 AND category_id = 118 |
3 | SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17968 AND category_item.category_id = 118 ORDER BY item.name LIMIT 0,24 |
0 | SELECT * FROM `region` WHERE id IN ('178') LIMIT 1 |
1 | SELECT * FROM `locality` WHERE id IN ('17968') LIMIT 1 |
0 | SELECT * FROM `photos` WHERE `item_id` IN ('379041','103346','379106','380090','380133','315303','380164','379006') |
1 | SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('379041','103346','379106','380090','380133','315303','380164','379006') |
0 | SELECT * FROM `category` WHERE id IN ('96','118','141','138','131') LIMIT 5 |
1 | SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17968 GROUP BY locality_id, category_id |
1 | SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','105','106','107','108','113','115','118','119','120','121','122','124','125','126','127','128','129','130','131','132','133','136','138','140','141','144','148','155','158','159','161','164','166','167','168','169','187') ORDER BY name |
0 | SELECT * FROM counts where updated="2024-04-26" and table_name like 'news' |
0 | SELECT * FROM counts where updated="2024-04-26" and table_name like 'news' |
0 | SELECT * FROM `category` ORDER BY name |
2 | 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 ('168','179') LIMIT 2 |
0 | SELECT * FROM `locality` WHERE id IN ('14386','18526','14393') LIMIT 3 |
0 | SELECT * FROM `photos` WHERE `item_id` IN ('272747','272748','272749','272750') |
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 |