0SELECT * FROM `locality` WHERE url = 'glenwood-ab' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-23\",\"data\":{\"2024-04-23\":{\"04\":{\"temp\":5,\"pressure\":1018,\"humidity\":66,\"icon\":\"10n\",\"wind\":5},\"07\":{\"temp\":4,\"pressure\":1019,\"humidity\":65,\"icon\":\"04n\",\"wind\":3},\"10\":{\"temp\":8,\"pressure\":1017,\"humidity\":52,\"icon\":\"01d\",\"wind\":2},\"13\":{\"temp\":12,\"pressure\":1014,\"humidity\":29,\"icon\":\"01d\",\"wind\":4},\"16\":{\"temp\":15,\"pressure\":1012,\"humidity\":25,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":15,\"pressure\":1010,\"humidity\":25,\"icon\":\"04d\",\"wind\":3},\"22\":{\"temp\":10,\"pressure\":1010,\"humidity\":38,\"icon\":\"03n\",\"wind\":4}},\"2024-04-24\":{\"01\":{\"temp\":7,\"pressure\":1011,\"humidity\":42,\"icon\":\"03n\",\"wind\":4},\"04\":{\"temp\":6,\"pressure\":1010,\"humidity\":45,\"icon\":\"04n\",\"wind\":4},\"07\":{\"temp\":5,\"pressure\":1010,\"humidity\":52,\"icon\":\"03n\",\"wind\":4},\"10\":{\"temp\":9,\"pressure\":1008,\"humidity\":44,\"icon\":\"03d\",\"wind\":4},\"13\":{\"temp\":13,\"pressure\":1006,\"humidity\":28,\"icon\":\"04d\",\"wind\":6},\"16\":{\"temp\":15,\"pressure\":1005,\"humidity\":26,\"icon\":\"04d\",\"wind\":7},\"19\":{\"temp\":15,\"pressure\":1004,\"humidity\":30,\"icon\":\"04d\",\"wind\":8},\"22\":{\"temp\":10,\"pressure\":1004,\"humidity\":49,\"icon\":\"01n\",\"wind\":4}},\"2024-04-25\":{\"01\":{\"temp\":8,\"pressure\":1005,\"humidity\":57,\"icon\":\"01n\",\"wind\":4},\"04\":{\"temp\":6,\"pressure\":1005,\"humidity\":65,\"icon\":\"02n\",\"wind\":5},\"07\":{\"temp\":6,\"pressure\":1004,\"humidity\":68,\"icon\":\"02n\",\"wind\":6},\"10\":{\"temp\":9,\"pressure\":1002,\"humidity\":60,\"icon\":\"04d\",\"wind\":8},\"13\":{\"temp\":13,\"pressure\":1002,\"humidity\":40,\"icon\":\"04d\",\"wind\":9},\"16\":{\"temp\":15,\"pressure\":1000,\"humidity\":35,\"icon\":\"04d\",\"wind\":8},\"19\":{\"temp\":14,\"pressure\":1000,\"humidity\":36,\"icon\":\"04d\",\"wind\":7},\"22\":{\"temp\":9,\"pressure\":1003,\"humidity\":69,\"icon\":\"04n\",\"wind\":5}}}}' WHERE id = 14390 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 = 14390 AND category_id = 99 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14390 AND category_id = 99
3SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14390 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 ('14390') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('138280','138197','138146','138329','138492')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('138280','138197','138146','138329','138492')
0SELECT * FROM `category` WHERE id IN ('96','99','155') LIMIT 3
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14390 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','104','106','107','108','120','121','127','132','133','155') 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'
1SELECT * 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 ('18074','18433','17138') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('382110','382111','382112','382113')
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 ('169') LIMIT 1