0 | SELECT * FROM `locality` WHERE url = 'pelham-on' LIMIT 1 |
0 | SELECT * FROM `region` WHERE id = 176 LIMIT 1 |
0 | SELECT * FROM `category` WHERE url = 'amusement-park' LIMIT 1 |
2 | SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17053 AND category_id = 170 GROUP BY locality_id, category_id, price_level |
0 | SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17053 AND category_id = 170 |
1 | SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17053 AND category_item.category_id = 170 ORDER BY item.name LIMIT 0,24 |
0 | SELECT * FROM `region` WHERE id IN ('176') LIMIT 1 |
0 | SELECT * FROM `locality` WHERE id IN ('17053') LIMIT 1 |
0 | SELECT * FROM `photos` WHERE `item_id` IN ('34079') |
0 | SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('34079') |
0 | SELECT * FROM `category` WHERE id IN ('96','106','107','108','129','159','170') LIMIT 7 |
1 | SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17053 GROUP BY locality_id, category_id |
1 | SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','101','102','104','105','106','107','108','109','110','115','117','118','119','120','121','124','126','127','128','129','137','138','139','143','144','148','152','153','155','158','159','162','166','170') ORDER BY name |
0 | SELECT * FROM counts where updated="2024-04-20" and table_name like 'news' |
0 | SELECT * FROM counts where updated="2024-04-20" 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 ('178','170') LIMIT 2 |
0 | SELECT * FROM `locality` WHERE id IN ('17526','15286') LIMIT 2 |
0 | SELECT * FROM `photos` WHERE `item_id` IN ('158941','158942','158943','158944') |
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 |