0SELECT * FROM `locality` WHERE url = 'saint-liboire-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-18\",\"data\":{\"2024-04-18\":{\"01\":{\"temp\":5,\"pressure\":1020,\"humidity\":67,\"icon\":\"04n\",\"wind\":7},\"04\":{\"temp\":4,\"pressure\":1020,\"humidity\":66,\"icon\":\"04n\",\"wind\":6},\"07\":{\"temp\":5,\"pressure\":1019,\"humidity\":65,\"icon\":\"04d\",\"wind\":6},\"10\":{\"temp\":12,\"pressure\":1019,\"humidity\":51,\"icon\":\"04d\",\"wind\":5},\"13\":{\"temp\":12,\"pressure\":1019,\"humidity\":62,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":7,\"pressure\":1019,\"humidity\":86,\"icon\":\"10d\",\"wind\":4},\"19\":{\"temp\":7,\"pressure\":1020,\"humidity\":94,\"icon\":\"10n\",\"wind\":3},\"22\":{\"temp\":7,\"pressure\":1020,\"humidity\":89,\"icon\":\"10n\",\"wind\":3}},\"2024-04-19\":{\"01\":{\"temp\":6,\"pressure\":1019,\"humidity\":91,\"icon\":\"10n\",\"wind\":2},\"04\":{\"temp\":6,\"pressure\":1018,\"humidity\":90,\"icon\":\"10n\",\"wind\":2},\"07\":{\"temp\":6,\"pressure\":1018,\"humidity\":87,\"icon\":\"04d\",\"wind\":3},\"10\":{\"temp\":11,\"pressure\":1015,\"humidity\":68,\"icon\":\"04d\",\"wind\":4},\"13\":{\"temp\":13,\"pressure\":1011,\"humidity\":63,\"icon\":\"04d\",\"wind\":6},\"16\":{\"temp\":11,\"pressure\":1009,\"humidity\":82,\"icon\":\"10d\",\"wind\":6},\"19\":{\"temp\":10,\"pressure\":1008,\"humidity\":83,\"icon\":\"10n\",\"wind\":10},\"22\":{\"temp\":9,\"pressure\":1010,\"humidity\":84,\"icon\":\"10n\",\"wind\":9}},\"2024-04-20\":{\"01\":{\"temp\":7,\"pressure\":1011,\"humidity\":72,\"icon\":\"10n\",\"wind\":7},\"04\":{\"temp\":4,\"pressure\":1012,\"humidity\":76,\"icon\":\"01n\",\"wind\":7},\"07\":{\"temp\":5,\"pressure\":1013,\"humidity\":72,\"icon\":\"01d\",\"wind\":7},\"10\":{\"temp\":9,\"pressure\":1012,\"humidity\":50,\"icon\":\"01d\",\"wind\":8},\"13\":{\"temp\":10,\"pressure\":1010,\"humidity\":44,\"icon\":\"04d\",\"wind\":8},\"16\":{\"temp\":9,\"pressure\":1008,\"humidity\":54,\"icon\":\"04d\",\"wind\":7},\"19\":{\"temp\":6,\"pressure\":1009,\"humidity\":77,\"icon\":\"10n\",\"wind\":7},\"22\":{\"temp\":5,\"pressure\":1010,\"humidity\":77,\"icon\":\"10n\",\"wind\":6}}}}' WHERE id = 18173 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'gas-station' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 18173 AND category_id = 110 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 18173 AND category_id = 110
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 18173 AND category_item.category_id = 110 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('18173') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('44625','43941')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('44625','43941')
0SELECT * FROM `category` WHERE id IN ('96','110') LIMIT 2
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 18173 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','101','102','103','104','106','107','108','110','113','115','117','118','119','120','121','123','125','126','127','130','131','132','133','139','141','143','144','147','148','149','155','162','164','169') ORDER BY name
0SELECT * FROM counts where updated="2024-04-18" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-18" and table_name like 'news'
1SELECT * 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 ('176','178') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('16566','18110','17741') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('371303','371305','371306','371307')
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