0SELECT * FROM `locality` WHERE url = 'whitney-nb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-18\":{\"22\":{\"temp\":1,\"pressure\":1025,\"humidity\":74,\"icon\":\"03n\",\"wind\":1}},\"2024-04-19\":{\"01\":{\"temp\":1,\"pressure\":1024,\"humidity\":76,\"icon\":\"04n\",\"wind\":1},\"04\":{\"temp\":-0,\"pressure\":1024,\"humidity\":81,\"icon\":\"03n\",\"wind\":1},\"07\":{\"temp\":5,\"pressure\":1025,\"humidity\":56,\"icon\":\"04d\",\"wind\":0},\"10\":{\"temp\":11,\"pressure\":1023,\"humidity\":36,\"icon\":\"04d\",\"wind\":1},\"13\":{\"temp\":12,\"pressure\":1021,\"humidity\":33,\"icon\":\"04d\",\"wind\":3},\"16\":{\"temp\":11,\"pressure\":1019,\"humidity\":40,\"icon\":\"03d\",\"wind\":5},\"19\":{\"temp\":4,\"pressure\":1018,\"humidity\":66,\"icon\":\"04n\",\"wind\":3},\"22\":{\"temp\":3,\"pressure\":1016,\"humidity\":69,\"icon\":\"04n\",\"wind\":3}},\"2024-04-20\":{\"01\":{\"temp\":4,\"pressure\":1014,\"humidity\":58,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":5,\"pressure\":1012,\"humidity\":59,\"icon\":\"04n\",\"wind\":5},\"07\":{\"temp\":4,\"pressure\":1012,\"humidity\":69,\"icon\":\"04d\",\"wind\":5},\"10\":{\"temp\":3,\"pressure\":1011,\"humidity\":96,\"icon\":\"10d\",\"wind\":4},\"13\":{\"temp\":5,\"pressure\":1009,\"humidity\":94,\"icon\":\"10d\",\"wind\":4},\"16\":{\"temp\":5,\"pressure\":1007,\"humidity\":95,\"icon\":\"04d\",\"wind\":4},\"19\":{\"temp\":4,\"pressure\":1007,\"humidity\":97,\"icon\":\"04n\",\"wind\":3},\"22\":{\"temp\":4,\"pressure\":1005,\"humidity\":98,\"icon\":\"10n\",\"wind\":2}}}}' WHERE id = 15688 LIMIT 1
0SELECT * FROM `region` WHERE id = 171 LIMIT 1
3SELECT * FROM `item` WHERE `locality_id` = 15688 ORDER BY count_views LIMIT 12
0SELECT * FROM `region` WHERE id IN ('171') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15688') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('84805','84599','84718')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('84805','84599','84718')
1SELECT * FROM `category` WHERE id IN ('96') LIMIT 1
1SELECT * FROM `reviews` WHERE `status` = 1 AND `locality_id` = 15688 AND `date` < '2024-04-19 01:14:02' ORDER BY `date` DESC LIMIT 3
4SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15688 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96') ORDER BY name
0SELECT * FROM counts where updated="2024-04-19" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-19" and table_name like 'news'
1SELECT * FROM `category` ORDER BY name
3SELECT * 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 ('171','176','178') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('15500','17008','18280') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('64706','64707','64708','64709')
0SELECT * 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