0SELECT * FROM `locality` WHERE url = 'stoney-creek-nb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-27\",\"data\":{\"2024-04-26\":{\"22\":{\"temp\":1,\"pressure\":1031,\"humidity\":68,\"icon\":\"03n\",\"wind\":1}},\"2024-04-27\":{\"01\":{\"temp\":-0,\"pressure\":1032,\"humidity\":72,\"icon\":\"03n\",\"wind\":1},\"04\":{\"temp\":-2,\"pressure\":1032,\"humidity\":77,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":4,\"pressure\":1033,\"humidity\":50,\"icon\":\"01d\",\"wind\":3},\"10\":{\"temp\":8,\"pressure\":1032,\"humidity\":37,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":9,\"pressure\":1031,\"humidity\":33,\"icon\":\"01d\",\"wind\":5},\"16\":{\"temp\":8,\"pressure\":1029,\"humidity\":34,\"icon\":\"01d\",\"wind\":4},\"19\":{\"temp\":2,\"pressure\":1029,\"humidity\":63,\"icon\":\"01n\",\"wind\":2},\"22\":{\"temp\":0,\"pressure\":1029,\"humidity\":65,\"icon\":\"03n\",\"wind\":1}},\"2024-04-28\":{\"01\":{\"temp\":-0,\"pressure\":1027,\"humidity\":60,\"icon\":\"04n\",\"wind\":1},\"04\":{\"temp\":-0,\"pressure\":1025,\"humidity\":52,\"icon\":\"04n\",\"wind\":1},\"07\":{\"temp\":7,\"pressure\":1024,\"humidity\":39,\"icon\":\"04d\",\"wind\":1},\"10\":{\"temp\":12,\"pressure\":1022,\"humidity\":39,\"icon\":\"04d\",\"wind\":1},\"13\":{\"temp\":16,\"pressure\":1018,\"humidity\":37,\"icon\":\"04d\",\"wind\":1},\"16\":{\"temp\":15,\"pressure\":1015,\"humidity\":43,\"icon\":\"04d\",\"wind\":1},\"19\":{\"temp\":10,\"pressure\":1015,\"humidity\":63,\"icon\":\"04n\",\"wind\":2},\"22\":{\"temp\":9,\"pressure\":1013,\"humidity\":67,\"icon\":\"04n\",\"wind\":2}}}}' WHERE id = 15654 LIMIT 1
0SELECT * FROM `region` WHERE id = 171 LIMIT 1
1SELECT * FROM `item` WHERE `locality_id` = 15654 ORDER BY count_views LIMIT 12
0SELECT * FROM `region` WHERE id IN ('171') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15654') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('316801','73269','316768')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('316801','73269','316768')
0SELECT * FROM `category` WHERE id IN ('96','128','175','103','99') LIMIT 5
1SELECT * FROM `reviews` WHERE `status` = 1 AND `locality_id` = 15654 AND `date` < '2024-04-27 00:39:23' ORDER BY `date` DESC LIMIT 3
2SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15654 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','99','103','128','175') ORDER BY name
0SELECT * FROM counts where updated="2024-04-27" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-27" 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 ('177','176') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('17358','16828') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('407376','407377','407378','407379')
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