1SELECT * FROM `locality` WHERE url = 'notre-dame-des-monts-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-18\":{\"22\":{\"temp\":2,\"pressure\":1023,\"humidity\":73,\"icon\":\"04n\",\"wind\":1}},\"2024-04-19\":{\"01\":{\"temp\":1,\"pressure\":1023,\"humidity\":69,\"icon\":\"04n\",\"wind\":1},\"04\":{\"temp\":0,\"pressure\":1022,\"humidity\":66,\"icon\":\"04n\",\"wind\":0},\"07\":{\"temp\":4,\"pressure\":1021,\"humidity\":61,\"icon\":\"04d\",\"wind\":2},\"10\":{\"temp\":10,\"pressure\":1018,\"humidity\":53,\"icon\":\"04d\",\"wind\":4},\"13\":{\"temp\":11,\"pressure\":1015,\"humidity\":50,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":9,\"pressure\":1012,\"humidity\":63,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":7,\"pressure\":1010,\"humidity\":74,\"icon\":\"10n\",\"wind\":3},\"22\":{\"temp\":6,\"pressure\":1008,\"humidity\":92,\"icon\":\"04n\",\"wind\":3}},\"2024-04-20\":{\"01\":{\"temp\":7,\"pressure\":1005,\"humidity\":95,\"icon\":\"10n\",\"wind\":3},\"04\":{\"temp\":7,\"pressure\":1005,\"humidity\":70,\"icon\":\"10n\",\"wind\":5},\"07\":{\"temp\":5,\"pressure\":1007,\"humidity\":63,\"icon\":\"04d\",\"wind\":5},\"10\":{\"temp\":7,\"pressure\":1006,\"humidity\":41,\"icon\":\"04d\",\"wind\":5},\"13\":{\"temp\":8,\"pressure\":1005,\"humidity\":40,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":7,\"pressure\":1005,\"humidity\":49,\"icon\":\"10d\",\"wind\":4},\"19\":{\"temp\":5,\"pressure\":1005,\"humidity\":60,\"icon\":\"13n\",\"wind\":2},\"22\":{\"temp\":2,\"pressure\":1006,\"humidity\":73,\"icon\":\"04n\",\"wind\":2}}}}' WHERE id = 17862 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'general-contractor' LIMIT 1
3SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17862 AND category_id = 103 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17862 AND category_id = 103
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17862 AND category_item.category_id = 103 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('17862') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('83585','73800','83338','73816')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('83585','73800','83338','73816')
0SELECT * FROM `category` WHERE id IN ('96','103') LIMIT 2
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17862 GROUP BY locality_id, category_id
2SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','107','108','118','126','127','133') 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'
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 ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('17045','17002','17169') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('33065','33066','33067','33068')
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 ('178') LIMIT 1