0SELECT * FROM `locality` WHERE url = 'saint-victor-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-19\":{\"01\":{\"temp\":4,\"pressure\":1021,\"humidity\":87,\"icon\":\"04n\",\"wind\":0},\"04\":{\"temp\":3,\"pressure\":1021,\"humidity\":91,\"icon\":\"03n\",\"wind\":1},\"07\":{\"temp\":4,\"pressure\":1021,\"humidity\":83,\"icon\":\"04d\",\"wind\":1},\"10\":{\"temp\":8,\"pressure\":1019,\"humidity\":59,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":10,\"pressure\":1016,\"humidity\":58,\"icon\":\"04d\",\"wind\":3},\"16\":{\"temp\":13,\"pressure\":1012,\"humidity\":57,\"icon\":\"04d\",\"wind\":5},\"19\":{\"temp\":9,\"pressure\":1011,\"humidity\":70,\"icon\":\"04n\",\"wind\":4},\"22\":{\"temp\":8,\"pressure\":1010,\"humidity\":79,\"icon\":\"10n\",\"wind\":4}},\"2024-04-20\":{\"01\":{\"temp\":9,\"pressure\":1009,\"humidity\":83,\"icon\":\"10n\",\"wind\":6},\"04\":{\"temp\":4,\"pressure\":1011,\"humidity\":61,\"icon\":\"04n\",\"wind\":5},\"07\":{\"temp\":5,\"pressure\":1011,\"humidity\":57,\"icon\":\"04d\",\"wind\":5},\"10\":{\"temp\":9,\"pressure\":1009,\"humidity\":42,\"icon\":\"02d\",\"wind\":6},\"13\":{\"temp\":9,\"pressure\":1008,\"humidity\":48,\"icon\":\"10d\",\"wind\":6},\"16\":{\"temp\":9,\"pressure\":1007,\"humidity\":44,\"icon\":\"04d\",\"wind\":5},\"19\":{\"temp\":4,\"pressure\":1008,\"humidity\":62,\"icon\":\"04n\",\"wind\":4},\"22\":{\"temp\":2,\"pressure\":1009,\"humidity\":76,\"icon\":\"03n\",\"wind\":3}},\"2024-04-21\":{\"01\":{\"temp\":1,\"pressure\":1009,\"humidity\":85,\"icon\":\"02n\",\"wind\":3},\"04\":{\"temp\":1,\"pressure\":1009,\"humidity\":94,\"icon\":\"03n\",\"wind\":4},\"07\":{\"temp\":2,\"pressure\":1010,\"humidity\":88,\"icon\":\"13d\",\"wind\":5},\"10\":{\"temp\":4,\"pressure\":1009,\"humidity\":71,\"icon\":\"13d\",\"wind\":5},\"13\":{\"temp\":6,\"pressure\":1008,\"humidity\":67,\"icon\":\"10d\",\"wind\":6},\"16\":{\"temp\":7,\"pressure\":1007,\"humidity\":62,\"icon\":\"10d\",\"wind\":6},\"19\":{\"temp\":4,\"pressure\":1006,\"humidity\":72,\"icon\":\"04n\",\"wind\":5},\"22\":{\"temp\":3,\"pressure\":1005,\"humidity\":86,\"icon\":\"13n\",\"wind\":6}}}}' WHERE id = 18291 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'home-goods-store' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 18291 AND category_id = 128 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 18291 AND category_id = 128
3SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 18291 AND category_item.category_id = 128 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('18291') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('201148','389294','201129','389742')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('201148','389294','201129','389742')
0SELECT * FROM `category` WHERE id IN ('96','128','100') LIMIT 3
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 18291 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','101','102','103','104','107','108','110','112','113','116','118','120','121','122','124','126','127','128','130','131','132','133','139','140','143','144','161','162','169','174','176') 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 ('179','168') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('18577','18795','14494') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('229014','229015','229016','229017')
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