1 | SELECT * FROM `locality` WHERE url = 'bala-on' LIMIT 1 |
1 | SELECT * FROM `region` WHERE id = 176 LIMIT 1 |
0 | SELECT * FROM `category` WHERE url = 'library' LIMIT 1 |
2 | SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 16458 AND category_id = 119 GROUP BY locality_id, category_id, price_level |
0 | SELECT COUNT(*) FROM `category_item` WHERE locality_id = 16458 AND category_id = 119 |
1 | SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 16458 AND category_item.category_id = 119 ORDER BY item.name LIMIT 0,24 |
0 | SELECT * FROM `region` WHERE id IN ('176') LIMIT 1 |
0 | SELECT * FROM `locality` WHERE id IN ('16458') LIMIT 1 |
0 | SELECT * FROM `photos` WHERE `item_id` IN ('17721') |
1 | SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('17721') |
0 | SELECT * FROM `category` WHERE id IN ('96','119') LIMIT 2 |
0 | SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 16458 GROUP BY locality_id, category_id |
0 | SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','103','104','106','107','108','109','110','111','114','116','117','118','119','120','121','125','126','127','128','129','133','136','140','144','148','150','155','158','159','162','164','166','167','173') 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 |
3 | 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','178') LIMIT 2 |
0 | SELECT * FROM `locality` WHERE id IN ('14334','17821') LIMIT 2 |
0 | SELECT * FROM `photos` WHERE `item_id` IN ('406678','406679','406681','406682') |
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 |