1SELECT * FROM `locality` WHERE url = 'richmond-on' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-25\",\"data\":{\"2024-04-25\":{\"01\":{\"temp\":-1,\"pressure\":1026,\"humidity\":54,\"icon\":\"01n\",\"wind\":3},\"04\":{\"temp\":-2,\"pressure\":1028,\"humidity\":56,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":-1,\"pressure\":1032,\"humidity\":45,\"icon\":\"01d\",\"wind\":3},\"10\":{\"temp\":3,\"pressure\":1031,\"humidity\":37,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":7,\"pressure\":1029,\"humidity\":34,\"icon\":\"01d\",\"wind\":3},\"16\":{\"temp\":8,\"pressure\":1028,\"humidity\":35,\"icon\":\"01d\",\"wind\":3},\"19\":{\"temp\":4,\"pressure\":1028,\"humidity\":48,\"icon\":\"01d\",\"wind\":2},\"22\":{\"temp\":2,\"pressure\":1030,\"humidity\":53,\"icon\":\"01n\",\"wind\":2}},\"2024-04-26\":{\"01\":{\"temp\":-0,\"pressure\":1031,\"humidity\":69,\"icon\":\"01n\",\"wind\":2},\"04\":{\"temp\":-1,\"pressure\":1031,\"humidity\":74,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":3,\"pressure\":1033,\"humidity\":55,\"icon\":\"01d\",\"wind\":2},\"10\":{\"temp\":10,\"pressure\":1032,\"humidity\":41,\"icon\":\"01d\",\"wind\":2},\"13\":{\"temp\":13,\"pressure\":1031,\"humidity\":37,\"icon\":\"01d\",\"wind\":2},\"16\":{\"temp\":14,\"pressure\":1030,\"humidity\":39,\"icon\":\"01d\",\"wind\":2},\"19\":{\"temp\":7,\"pressure\":1029,\"humidity\":65,\"icon\":\"01d\",\"wind\":3},\"22\":{\"temp\":5,\"pressure\":1030,\"humidity\":71,\"icon\":\"01n\",\"wind\":3}},\"2024-04-27\":{\"01\":{\"temp\":3,\"pressure\":1029,\"humidity\":76,\"icon\":\"04n\",\"wind\":3},\"04\":{\"temp\":2,\"pressure\":1029,\"humidity\":79,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":6,\"pressure\":1028,\"humidity\":71,\"icon\":\"04d\",\"wind\":3},\"10\":{\"temp\":12,\"pressure\":1026,\"humidity\":56,\"icon\":\"04d\",\"wind\":6},\"13\":{\"temp\":14,\"pressure\":1024,\"humidity\":58,\"icon\":\"04d\",\"wind\":6},\"16\":{\"temp\":9,\"pressure\":1023,\"humidity\":91,\"icon\":\"10d\",\"wind\":4},\"19\":{\"temp\":8,\"pressure\":1022,\"humidity\":95,\"icon\":\"10d\",\"wind\":5},\"22\":{\"temp\":8,\"pressure\":1021,\"humidity\":95,\"icon\":\"10n\",\"wind\":4}}}}' WHERE id = 17111 LIMIT 1
0SELECT * FROM `region` WHERE id = 176 LIMIT 1
2SELECT * FROM `item` WHERE `locality_id` = 17111 ORDER BY count_views LIMIT 12
0SELECT * FROM `region` WHERE id IN ('176') LIMIT 1
1SELECT * FROM `locality` WHERE id IN ('17111') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('324974','317420')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('324974','317420')
0SELECT * FROM `category` WHERE id IN ('96','103','128') LIMIT 3
1SELECT * FROM `reviews` WHERE `status` = 1 AND `locality_id` = 17111 AND `date` < '2024-04-25 03:44:51' ORDER BY `date` DESC LIMIT 3
2SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17111 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','103','128') ORDER BY name
0SELECT * FROM counts where updated="2024-04-25" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-25" and table_name like 'news'
0SELECT * 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 ('168','178','179') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('14455','18230','18605') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('210332','210333','210334','210335')
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 ('179') LIMIT 1