0SELECT * FROM `locality` WHERE url = 'boisbriand-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-26\",\"data\":{\"2024-04-26\":{\"01\":{\"temp\":2,\"pressure\":1029,\"humidity\":52,\"icon\":\"01n\",\"wind\":1},\"04\":{\"temp\":1,\"pressure\":1031,\"humidity\":53,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":3,\"pressure\":1034,\"humidity\":46,\"icon\":\"01d\",\"wind\":1},\"10\":{\"temp\":8,\"pressure\":1034,\"humidity\":38,\"icon\":\"01d\",\"wind\":1},\"13\":{\"temp\":11,\"pressure\":1033,\"humidity\":36,\"icon\":\"01d\",\"wind\":2},\"16\":{\"temp\":12,\"pressure\":1032,\"humidity\":40,\"icon\":\"01d\",\"wind\":3},\"19\":{\"temp\":8,\"pressure\":1031,\"humidity\":53,\"icon\":\"01n\",\"wind\":2},\"22\":{\"temp\":6,\"pressure\":1031,\"humidity\":62,\"icon\":\"01n\",\"wind\":1}},\"2024-04-27\":{\"01\":{\"temp\":5,\"pressure\":1032,\"humidity\":69,\"icon\":\"01n\",\"wind\":1},\"04\":{\"temp\":4,\"pressure\":1031,\"humidity\":73,\"icon\":\"02n\",\"wind\":3},\"07\":{\"temp\":6,\"pressure\":1031,\"humidity\":68,\"icon\":\"03d\",\"wind\":3},\"10\":{\"temp\":11,\"pressure\":1030,\"humidity\":54,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":15,\"pressure\":1027,\"humidity\":46,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":15,\"pressure\":1024,\"humidity\":55,\"icon\":\"04d\",\"wind\":5},\"19\":{\"temp\":12,\"pressure\":1023,\"humidity\":65,\"icon\":\"04n\",\"wind\":4},\"22\":{\"temp\":10,\"pressure\":1023,\"humidity\":96,\"icon\":\"10n\",\"wind\":2}},\"2024-04-28\":{\"01\":{\"temp\":9,\"pressure\":1021,\"humidity\":91,\"icon\":\"10n\",\"wind\":3},\"04\":{\"temp\":9,\"pressure\":1019,\"humidity\":92,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":9,\"pressure\":1019,\"humidity\":91,\"icon\":\"04d\",\"wind\":2},\"10\":{\"temp\":10,\"pressure\":1018,\"humidity\":93,\"icon\":\"10d\",\"wind\":2},\"13\":{\"temp\":11,\"pressure\":1016,\"humidity\":94,\"icon\":\"10d\",\"wind\":3},\"16\":{\"temp\":12,\"pressure\":1016,\"humidity\":98,\"icon\":\"10d\",\"wind\":1},\"19\":{\"temp\":12,\"pressure\":1017,\"humidity\":97,\"icon\":\"10n\",\"wind\":1},\"22\":{\"temp\":12,\"pressure\":1018,\"humidity\":95,\"icon\":\"04n\",\"wind\":3}}}}' WHERE id = 17474 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'lodging' LIMIT 1
1SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17474 AND category_id = 107 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17474 AND category_id = 107
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17474 AND category_item.category_id = 107 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
1SELECT * FROM `locality` WHERE id IN ('17474') LIMIT 1
1SELECT * FROM `photos` WHERE `item_id` IN ('64292','64334')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('64292','64334')
0SELECT * FROM `category` WHERE id IN ('96','99','103','107','128','154') LIMIT 6
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17474 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','99','100','102','103','107','117','118','124','126','127','128','130','131','140','143','144','148','154','155','165') ORDER BY name
0SELECT * FROM counts where updated="2024-04-26" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-26" 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
1SELECT * FROM `region` WHERE id IN ('171','178') LIMIT 2
1SELECT * FROM `locality` WHERE id IN ('15465','17962') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('98163','98164','98165','98166')
1SELECT * 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
3SELECT * FROM `region` WHERE id IN ('168') LIMIT 1