0SELECT * FROM `locality` WHERE url = 'calling-lake-ab' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-19\":{\"01\":{\"temp\":-3,\"pressure\":1037,\"humidity\":46,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":-5,\"pressure\":1038,\"humidity\":51,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":-7,\"pressure\":1040,\"humidity\":54,\"icon\":\"03n\",\"wind\":2},\"10\":{\"temp\":-2,\"pressure\":1039,\"humidity\":28,\"icon\":\"01d\",\"wind\":1},\"13\":{\"temp\":6,\"pressure\":1036,\"humidity\":13,\"icon\":\"01d\",\"wind\":1},\"16\":{\"temp\":9,\"pressure\":1033,\"humidity\":13,\"icon\":\"01d\",\"wind\":1},\"19\":{\"temp\":8,\"pressure\":1031,\"humidity\":16,\"icon\":\"01d\",\"wind\":2},\"22\":{\"temp\":1,\"pressure\":1032,\"humidity\":38,\"icon\":\"01n\",\"wind\":2}},\"2024-04-20\":{\"01\":{\"temp\":-2,\"pressure\":1032,\"humidity\":44,\"icon\":\"01n\",\"wind\":2},\"04\":{\"temp\":-3,\"pressure\":1031,\"humidity\":46,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":-3,\"pressure\":1030,\"humidity\":46,\"icon\":\"01n\",\"wind\":1},\"10\":{\"temp\":3,\"pressure\":1027,\"humidity\":31,\"icon\":\"01d\",\"wind\":2},\"13\":{\"temp\":9,\"pressure\":1024,\"humidity\":23,\"icon\":\"01d\",\"wind\":3},\"16\":{\"temp\":11,\"pressure\":1020,\"humidity\":22,\"icon\":\"01d\",\"wind\":4},\"19\":{\"temp\":12,\"pressure\":1017,\"humidity\":24,\"icon\":\"01d\",\"wind\":4},\"22\":{\"temp\":4,\"pressure\":1016,\"humidity\":48,\"icon\":\"01n\",\"wind\":2}},\"2024-04-21\":{\"01\":{\"temp\":2,\"pressure\":1015,\"humidity\":58,\"icon\":\"01n\",\"wind\":2},\"04\":{\"temp\":0,\"pressure\":1013,\"humidity\":67,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":-1,\"pressure\":1012,\"humidity\":76,\"icon\":\"01n\",\"wind\":2},\"10\":{\"temp\":5,\"pressure\":1009,\"humidity\":50,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":11,\"pressure\":1007,\"humidity\":35,\"icon\":\"01d\",\"wind\":3},\"16\":{\"temp\":14,\"pressure\":1005,\"humidity\":29,\"icon\":\"01d\",\"wind\":2},\"19\":{\"temp\":13,\"pressure\":1005,\"humidity\":30,\"icon\":\"04d\",\"wind\":1},\"22\":{\"temp\":8,\"pressure\":1007,\"humidity\":50,\"icon\":\"04n\",\"wind\":1}}}}' WHERE id = 14263 LIMIT 1
0SELECT * FROM `region` WHERE id = 168 LIMIT 1
0SELECT * FROM `category` WHERE url = 'food' LIMIT 1
3SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 14263 AND category_id = 99 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14263 AND category_id = 99
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14263 AND category_item.category_id = 99 ORDER BY item.name LIMIT 0,24
1SELECT * FROM `region` WHERE id IN ('168') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14263') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('270643','271162')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('270643','271162')
0SELECT * FROM `category` WHERE id IN ('96','99','115','102','110','136') LIMIT 6
2SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14263 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','99','102','104','107','108','110','115','117','118','133','135','136','159') ORDER BY name
0SELECT * FROM counts where updated="2024-04-19" and table_name like 'news'
2SELECT * FROM counts where updated="2024-04-19" and table_name like 'news'
2SELECT * 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 ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('17054','17314') LIMIT 2
5SELECT * FROM `photos` WHERE `item_id` IN ('325840','325841','325842','325843')
1SELECT * 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
1SELECT * FROM `region` WHERE id IN ('168') LIMIT 1