0SELECT * FROM `locality` WHERE url = 'new-norway-ab' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-24\",\"data\":{\"2024-04-24\":{\"01\":{\"temp\":10,\"pressure\":1009,\"humidity\":46,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":9,\"pressure\":1008,\"humidity\":49,\"icon\":\"04n\",\"wind\":4},\"07\":{\"temp\":6,\"pressure\":1007,\"humidity\":60,\"icon\":\"04n\",\"wind\":3},\"10\":{\"temp\":10,\"pressure\":1006,\"humidity\":52,\"icon\":\"03d\",\"wind\":2},\"13\":{\"temp\":14,\"pressure\":1003,\"humidity\":41,\"icon\":\"04d\",\"wind\":3},\"16\":{\"temp\":16,\"pressure\":1002,\"humidity\":34,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":16,\"pressure\":1000,\"humidity\":35,\"icon\":\"04d\",\"wind\":3},\"22\":{\"temp\":11,\"pressure\":1001,\"humidity\":57,\"icon\":\"04n\",\"wind\":3}},\"2024-04-25\":{\"01\":{\"temp\":8,\"pressure\":1003,\"humidity\":66,\"icon\":\"03n\",\"wind\":6},\"04\":{\"temp\":6,\"pressure\":1004,\"humidity\":79,\"icon\":\"03n\",\"wind\":4},\"07\":{\"temp\":5,\"pressure\":1004,\"humidity\":87,\"icon\":\"04n\",\"wind\":3},\"10\":{\"temp\":8,\"pressure\":1004,\"humidity\":66,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":12,\"pressure\":1003,\"humidity\":44,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":11,\"pressure\":1003,\"humidity\":56,\"icon\":\"04d\",\"wind\":6},\"19\":{\"temp\":11,\"pressure\":1003,\"humidity\":40,\"icon\":\"04d\",\"wind\":6},\"22\":{\"temp\":9,\"pressure\":1004,\"humidity\":43,\"icon\":\"04n\",\"wind\":3}},\"2024-04-26\":{\"01\":{\"temp\":7,\"pressure\":1007,\"humidity\":45,\"icon\":\"04n\",\"wind\":5},\"04\":{\"temp\":3,\"pressure\":1011,\"humidity\":71,\"icon\":\"04n\",\"wind\":6},\"07\":{\"temp\":2,\"pressure\":1013,\"humidity\":79,\"icon\":\"04n\",\"wind\":5},\"10\":{\"temp\":3,\"pressure\":1015,\"humidity\":66,\"icon\":\"04d\",\"wind\":5},\"13\":{\"temp\":5,\"pressure\":1015,\"humidity\":54,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":7,\"pressure\":1015,\"humidity\":47,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":8,\"pressure\":1013,\"humidity\":41,\"icon\":\"04d\",\"wind\":1},\"22\":{\"temp\":6,\"pressure\":1015,\"humidity\":49,\"icon\":\"04n\",\"wind\":1}}}}' WHERE id = 14509 LIMIT 1
0SELECT * FROM `region` WHERE id = 168 LIMIT 1
0SELECT * FROM `category` WHERE url = 'finance' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 14509 AND category_id = 97 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14509 AND category_id = 97
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14509 AND category_item.category_id = 97 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('168') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14509') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('235927','236126','236035')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('235927','236126','236035')
0SELECT * FROM `category` WHERE id IN ('96','97','127','123','98') LIMIT 5
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14509 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','101','103','104','110','120','121','123','125','127','128','133','134','144') ORDER BY name
0SELECT * FROM counts where updated="2024-04-24" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-24" 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 ('171','176') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('15465','17093','17069','17340') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('46142','46143','46144','46145')
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