1SELECT * FROM `locality` WHERE url = 'mont-carmel-qc' LIMIT 1
2UPDATE locality SET weather = '{\"date\":\"2024-04-18\",\"data\":{\"2024-04-18\":{\"01\":{\"temp\":1,\"pressure\":1025,\"humidity\":84,\"icon\":\"02n\",\"wind\":3},\"04\":{\"temp\":0,\"pressure\":1026,\"humidity\":87,\"icon\":\"02n\",\"wind\":3},\"07\":{\"temp\":3,\"pressure\":1026,\"humidity\":74,\"icon\":\"03d\",\"wind\":4},\"10\":{\"temp\":6,\"pressure\":1025,\"humidity\":65,\"icon\":\"04d\",\"wind\":5},\"13\":{\"temp\":6,\"pressure\":1023,\"humidity\":60,\"icon\":\"04d\",\"wind\":7},\"16\":{\"temp\":5,\"pressure\":1023,\"humidity\":58,\"icon\":\"04d\",\"wind\":8},\"19\":{\"temp\":2,\"pressure\":1023,\"humidity\":77,\"icon\":\"04n\",\"wind\":6},\"22\":{\"temp\":2,\"pressure\":1022,\"humidity\":79,\"icon\":\"04n\",\"wind\":4}},\"2024-04-19\":{\"01\":{\"temp\":1,\"pressure\":1022,\"humidity\":83,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":2,\"pressure\":1021,\"humidity\":85,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":6,\"pressure\":1020,\"humidity\":71,\"icon\":\"04d\",\"wind\":2},\"10\":{\"temp\":9,\"pressure\":1018,\"humidity\":62,\"icon\":\"04d\",\"wind\":4},\"13\":{\"temp\":9,\"pressure\":1015,\"humidity\":62,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":9,\"pressure\":1012,\"humidity\":68,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":9,\"pressure\":1009,\"humidity\":71,\"icon\":\"10n\",\"wind\":7},\"22\":{\"temp\":7,\"pressure\":1008,\"humidity\":80,\"icon\":\"10n\",\"wind\":8}},\"2024-04-20\":{\"01\":{\"temp\":9,\"pressure\":1005,\"humidity\":80,\"icon\":\"10n\",\"wind\":12},\"04\":{\"temp\":5,\"pressure\":1007,\"humidity\":73,\"icon\":\"04n\",\"wind\":11},\"07\":{\"temp\":5,\"pressure\":1008,\"humidity\":75,\"icon\":\"03d\",\"wind\":10},\"10\":{\"temp\":7,\"pressure\":1008,\"humidity\":57,\"icon\":\"01d\",\"wind\":10},\"13\":{\"temp\":9,\"pressure\":1007,\"humidity\":47,\"icon\":\"03d\",\"wind\":10},\"16\":{\"temp\":8,\"pressure\":1006,\"humidity\":56,\"icon\":\"04d\",\"wind\":8},\"19\":{\"temp\":6,\"pressure\":1006,\"humidity\":64,\"icon\":\"04n\",\"wind\":7},\"22\":{\"temp\":4,\"pressure\":1006,\"humidity\":79,\"icon\":\"04n\",\"wind\":5}}}}' WHERE id = 17820 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'general-contractor' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17820 AND category_id = 103 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17820 AND category_id = 103
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17820 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 ('17820') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('361897','121692','121707')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('361897','121692','121707')
0SELECT * FROM `category` WHERE id IN ('96','103') LIMIT 2
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17820 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','99','100','102','103','104','106','107','108','113','115','118','126','127','130','131','133','139','144','161','164','187') 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'
0SELECT * 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 ('170','169') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('15340','15021') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('446078','446079','446080','446081')
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
0SELECT * FROM `region` WHERE id IN ('176') LIMIT 1