2SELECT * FROM `locality` WHERE url = 'letang-du-nord-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-16\",\"data\":{\"2024-04-16\":{\"01\":{\"temp\":5,\"pressure\":1010,\"humidity\":93,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":4,\"pressure\":1011,\"humidity\":96,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":3,\"pressure\":1012,\"humidity\":97,\"icon\":\"04d\",\"wind\":2},\"10\":{\"temp\":2,\"pressure\":1013,\"humidity\":99,\"icon\":\"04d\",\"wind\":1},\"13\":{\"temp\":2,\"pressure\":1012,\"humidity\":98,\"icon\":\"04d\",\"wind\":0},\"16\":{\"temp\":2,\"pressure\":1012,\"humidity\":96,\"icon\":\"04d\",\"wind\":1},\"19\":{\"temp\":2,\"pressure\":1014,\"humidity\":96,\"icon\":\"04n\",\"wind\":2},\"22\":{\"temp\":2,\"pressure\":1013,\"humidity\":93,\"icon\":\"04n\",\"wind\":2}},\"2024-04-17\":{\"01\":{\"temp\":2,\"pressure\":1013,\"humidity\":95,\"icon\":\"04n\",\"wind\":3},\"04\":{\"temp\":1,\"pressure\":1014,\"humidity\":98,\"icon\":\"10n\",\"wind\":4},\"07\":{\"temp\":1,\"pressure\":1015,\"humidity\":97,\"icon\":\"10d\",\"wind\":5},\"10\":{\"temp\":1,\"pressure\":1015,\"humidity\":93,\"icon\":\"04d\",\"wind\":6},\"13\":{\"temp\":2,\"pressure\":1016,\"humidity\":89,\"icon\":\"04d\",\"wind\":6},\"16\":{\"temp\":1,\"pressure\":1017,\"humidity\":94,\"icon\":\"03d\",\"wind\":7},\"19\":{\"temp\":1,\"pressure\":1017,\"humidity\":97,\"icon\":\"04n\",\"wind\":8},\"22\":{\"temp\":2,\"pressure\":1017,\"humidity\":94,\"icon\":\"04n\",\"wind\":9}},\"2024-04-18\":{\"01\":{\"temp\":1,\"pressure\":1018,\"humidity\":91,\"icon\":\"04n\",\"wind\":12},\"04\":{\"temp\":1,\"pressure\":1019,\"humidity\":87,\"icon\":\"04n\",\"wind\":12},\"07\":{\"temp\":1,\"pressure\":1019,\"humidity\":88,\"icon\":\"04d\",\"wind\":11},\"10\":{\"temp\":1,\"pressure\":1019,\"humidity\":85,\"icon\":\"02d\",\"wind\":9},\"13\":{\"temp\":1,\"pressure\":1019,\"humidity\":79,\"icon\":\"01d\",\"wind\":9},\"16\":{\"temp\":1,\"pressure\":1018,\"humidity\":76,\"icon\":\"01d\",\"wind\":7},\"19\":{\"temp\":2,\"pressure\":1017,\"humidity\":83,\"icon\":\"01n\",\"wind\":11},\"22\":{\"temp\":2,\"pressure\":1016,\"humidity\":82,\"icon\":\"03n\",\"wind\":11}}}}' WHERE id = 17685 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'school' LIMIT 1
3SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17685 AND category_id = 104 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17685 AND category_id = 104
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17685 AND category_item.category_id = 104 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
2SELECT * FROM `locality` WHERE id IN ('17685') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('82873','82908','82906')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('82873','82908','82906')
0SELECT * FROM `category` WHERE id IN ('96','104') LIMIT 2
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17685 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','105','106','107','108','110','115','117','118','119','120','121','122','124','127','128','130','132','133','135','136','138','144','148','149','152','154','155','162','163','165','166','173','174','175','178','182') ORDER BY name
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
1SELECT * FROM `category` ORDER BY name
2SELECT * 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 ('168') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14496','14347') LIMIT 2
1SELECT * FROM `photos` WHERE `item_id` IN ('253962','253963','253964','253965')
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