0SELECT * FROM `region` WHERE url = 'sk' LIMIT 1
0SELECT * FROM `category` WHERE url = 'accounting' LIMIT 1
2SELECT category_id, region_id, locality_id FROM `category_item` WHERE category_id = 123 AND region_id = 179 GROUP BY category_id, region_id, locality_id
7SELECT * FROM `locality` WHERE `region_id` = 179 ORDER BY name
1SELECT * FROM `category` ORDER BY name
1SELECT * FROM counts where updated="2024-04-18" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-18" and table_name like 'news'
1SELECT * 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 ('14911','14762','14776') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('152509','152510','152512','152513')
1SELECT * 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