0SELECT * FROM `locality` WHERE url = 'altona-bc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-23\",\"data\":{\"2024-04-23\":{\"16\":{\"temp\":12,\"pressure\":1011,\"humidity\":39,\"icon\":\"03d\",\"wind\":2},\"19\":{\"temp\":12,\"pressure\":1009,\"humidity\":34,\"icon\":\"04d\",\"wind\":3},\"22\":{\"temp\":9,\"pressure\":1007,\"humidity\":44,\"icon\":\"04d\",\"wind\":2}},\"2024-04-24\":{\"01\":{\"temp\":7,\"pressure\":1007,\"humidity\":48,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":6,\"pressure\":1007,\"humidity\":53,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":6,\"pressure\":1006,\"humidity\":55,\"icon\":\"04n\",\"wind\":1},\"10\":{\"temp\":8,\"pressure\":1005,\"humidity\":52,\"icon\":\"04d\",\"wind\":2},\"13\":{\"temp\":9,\"pressure\":1005,\"humidity\":54,\"icon\":\"10d\",\"wind\":3},\"16\":{\"temp\":12,\"pressure\":1004,\"humidity\":23,\"icon\":\"04d\",\"wind\":5},\"19\":{\"temp\":12,\"pressure\":1003,\"humidity\":20,\"icon\":\"04d\",\"wind\":5},\"22\":{\"temp\":7,\"pressure\":1004,\"humidity\":34,\"icon\":\"03d\",\"wind\":2}},\"2024-04-25\":{\"01\":{\"temp\":3,\"pressure\":1005,\"humidity\":49,\"icon\":\"03n\",\"wind\":2},\"04\":{\"temp\":1,\"pressure\":1006,\"humidity\":69,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":1,\"pressure\":1007,\"humidity\":88,\"icon\":\"04n\",\"wind\":3},\"10\":{\"temp\":2,\"pressure\":1009,\"humidity\":76,\"icon\":\"04d\",\"wind\":4},\"13\":{\"temp\":2,\"pressure\":1011,\"humidity\":79,\"icon\":\"13d\",\"wind\":5},\"16\":{\"temp\":4,\"pressure\":1011,\"humidity\":66,\"icon\":\"04d\",\"wind\":6},\"19\":{\"temp\":2,\"pressure\":1013,\"humidity\":85,\"icon\":\"13d\",\"wind\":5},\"22\":{\"temp\":1,\"pressure\":1015,\"humidity\":87,\"icon\":\"13d\",\"wind\":3}}}}' WHERE id = 14671 LIMIT 1
0SELECT * FROM `region` WHERE id = 169 LIMIT 1
2SELECT * FROM `item` WHERE `locality_id` = 14671 ORDER BY count_views LIMIT 12
0SELECT * FROM `region` WHERE id IN ('169') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14671') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('278608','278747','278549','278601','278167')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('278608','278747','278549','278601','278167')
0SELECT * FROM `category` WHERE id IN ('96','125','97','98') LIMIT 4
1SELECT * FROM `reviews` WHERE `status` = 1 AND `locality_id` = 14671 AND `date` < '2024-04-23 19:02:31' ORDER BY `date` DESC LIMIT 3
2SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14671 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','125') ORDER BY name
0SELECT * FROM counts where updated="2024-04-23" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-23" and table_name like 'news'
0SELECT * 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 ('170','179') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('15053','18766') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('213803','213804','213805','213806')
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