1SELECT * FROM `locality` WHERE url = 'cowley-ab' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-19\":{\"01\":{\"temp\":-2,\"pressure\":1034,\"humidity\":65,\"icon\":\"04n\",\"wind\":1},\"04\":{\"temp\":-2,\"pressure\":1034,\"humidity\":52,\"icon\":\"04n\",\"wind\":0},\"07\":{\"temp\":-2,\"pressure\":1035,\"humidity\":45,\"icon\":\"04n\",\"wind\":0},\"10\":{\"temp\":-2,\"pressure\":1037,\"humidity\":38,\"icon\":\"04d\",\"wind\":2},\"13\":{\"temp\":0,\"pressure\":1034,\"humidity\":30,\"icon\":\"04d\",\"wind\":3},\"16\":{\"temp\":3,\"pressure\":1032,\"humidity\":29,\"icon\":\"04d\",\"wind\":4},\"19\":{\"temp\":3,\"pressure\":1031,\"humidity\":32,\"icon\":\"04d\",\"wind\":5},\"22\":{\"temp\":-0,\"pressure\":1032,\"humidity\":56,\"icon\":\"04n\",\"wind\":3}},\"2024-04-20\":{\"01\":{\"temp\":-1,\"pressure\":1032,\"humidity\":67,\"icon\":\"04n\",\"wind\":0},\"04\":{\"temp\":-2,\"pressure\":1031,\"humidity\":67,\"icon\":\"03n\",\"wind\":0},\"07\":{\"temp\":-2,\"pressure\":1030,\"humidity\":67,\"icon\":\"02n\",\"wind\":0},\"10\":{\"temp\":-1,\"pressure\":1029,\"humidity\":53,\"icon\":\"01d\",\"wind\":1},\"13\":{\"temp\":3,\"pressure\":1026,\"humidity\":36,\"icon\":\"01d\",\"wind\":1},\"16\":{\"temp\":7,\"pressure\":1020,\"humidity\":38,\"icon\":\"01d\",\"wind\":3},\"19\":{\"temp\":10,\"pressure\":1015,\"humidity\":36,\"icon\":\"01d\",\"wind\":4},\"22\":{\"temp\":4,\"pressure\":1014,\"humidity\":66,\"icon\":\"01n\",\"wind\":3}},\"2024-04-21\":{\"01\":{\"temp\":2,\"pressure\":1012,\"humidity\":63,\"icon\":\"03n\",\"wind\":2},\"04\":{\"temp\":2,\"pressure\":1010,\"humidity\":65,\"icon\":\"03n\",\"wind\":3},\"07\":{\"temp\":3,\"pressure\":1009,\"humidity\":78,\"icon\":\"02n\",\"wind\":8},\"10\":{\"temp\":4,\"pressure\":1006,\"humidity\":57,\"icon\":\"13d\",\"wind\":14},\"13\":{\"temp\":6,\"pressure\":1006,\"humidity\":50,\"icon\":\"04d\",\"wind\":15},\"16\":{\"temp\":6,\"pressure\":1007,\"humidity\":53,\"icon\":\"04d\",\"wind\":15},\"19\":{\"temp\":6,\"pressure\":1007,\"humidity\":57,\"icon\":\"04d\",\"wind\":14},\"22\":{\"temp\":4,\"pressure\":1009,\"humidity\":57,\"icon\":\"04n\",\"wind\":9}}}}' WHERE id = 14306 LIMIT 1
0SELECT * FROM `region` WHERE id = 168 LIMIT 1
0SELECT * FROM `category` WHERE url = 'convenience-store' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 14306 AND category_id = 115 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14306 AND category_id = 115
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14306 AND category_item.category_id = 115 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('168') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14306') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('159442','159313')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('159442','159313')
0SELECT * FROM `category` WHERE id IN ('96','99','100','110','115') LIMIT 5
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14306 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','101','103','106','107','108','110','112','115','120','121','125','128','133','148','154','164','167') ORDER BY name
0SELECT * FROM counts where updated="2024-04-19" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-19" 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 ('178','176') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('18433','17441','17250','17459') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('381678','381679','381680','381681')
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
0SELECT * FROM `region` WHERE id IN ('168') LIMIT 1