0SELECT * FROM `locality` WHERE url = 'goodfish-lake-ab' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-19\":{\"01\":{\"temp\":-4,\"pressure\":1037,\"humidity\":59,\"icon\":\"04n\",\"wind\":3},\"04\":{\"temp\":-4,\"pressure\":1037,\"humidity\":63,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":-6,\"pressure\":1038,\"humidity\":71,\"icon\":\"04n\",\"wind\":2},\"10\":{\"temp\":-3,\"pressure\":1039,\"humidity\":49,\"icon\":\"02d\",\"wind\":3},\"13\":{\"temp\":2,\"pressure\":1036,\"humidity\":25,\"icon\":\"01d\",\"wind\":3},\"16\":{\"temp\":5,\"pressure\":1034,\"humidity\":22,\"icon\":\"01d\",\"wind\":2},\"19\":{\"temp\":6,\"pressure\":1032,\"humidity\":23,\"icon\":\"01d\",\"wind\":1},\"22\":{\"temp\":1,\"pressure\":1032,\"humidity\":35,\"icon\":\"01n\",\"wind\":0}},\"2024-04-20\":{\"01\":{\"temp\":-1,\"pressure\":1032,\"humidity\":37,\"icon\":\"01n\",\"wind\":3},\"04\":{\"temp\":-1,\"pressure\":1031,\"humidity\":36,\"icon\":\"01n\",\"wind\":3},\"07\":{\"temp\":-2,\"pressure\":1030,\"humidity\":42,\"icon\":\"01n\",\"wind\":3},\"10\":{\"temp\":3,\"pressure\":1028,\"humidity\":32,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":8,\"pressure\":1025,\"humidity\":27,\"icon\":\"01d\",\"wind\":4},\"16\":{\"temp\":10,\"pressure\":1022,\"humidity\":25,\"icon\":\"01d\",\"wind\":4},\"19\":{\"temp\":11,\"pressure\":1018,\"humidity\":26,\"icon\":\"01d\",\"wind\":5},\"22\":{\"temp\":5,\"pressure\":1017,\"humidity\":43,\"icon\":\"01n\",\"wind\":4}},\"2024-04-21\":{\"01\":{\"temp\":3,\"pressure\":1016,\"humidity\":55,\"icon\":\"01n\",\"wind\":3},\"04\":{\"temp\":1,\"pressure\":1014,\"humidity\":63,\"icon\":\"01n\",\"wind\":3},\"07\":{\"temp\":-0,\"pressure\":1012,\"humidity\":69,\"icon\":\"01n\",\"wind\":4},\"10\":{\"temp\":5,\"pressure\":1009,\"humidity\":51,\"icon\":\"01d\",\"wind\":6},\"13\":{\"temp\":10,\"pressure\":1006,\"humidity\":37,\"icon\":\"02d\",\"wind\":6},\"16\":{\"temp\":11,\"pressure\":1005,\"humidity\":37,\"icon\":\"04d\",\"wind\":5},\"19\":{\"temp\":11,\"pressure\":1005,\"humidity\":36,\"icon\":\"04d\",\"wind\":3},\"22\":{\"temp\":7,\"pressure\":1007,\"humidity\":58,\"icon\":\"04n\",\"wind\":3}}}}' WHERE id = 14391 LIMIT 1
0SELECT * FROM `region` WHERE id = 168 LIMIT 1
0SELECT * FROM `category` WHERE url = 'food' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 14391 AND category_id = 99 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14391 AND category_id = 99
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14391 AND category_item.category_id = 99 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('168') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14391') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('268303','268430')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('268303','268430')
0SELECT * FROM `category` WHERE id IN ('96','99','102') LIMIT 3
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14391 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','99','102','104','118','127') 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
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 ('169','178','172','179') LIMIT 4
0SELECT * FROM `locality` WHERE id IN ('14722','18392','15945','18539') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('190665','190666','190667','190668')
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