0SELECT * FROM `locality` WHERE url = 'metis-sur-mer-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-20\",\"data\":{\"2024-04-20\":{\"01\":{\"temp\":8,\"pressure\":1005,\"humidity\":73,\"icon\":\"10n\",\"wind\":10},\"04\":{\"temp\":8,\"pressure\":1005,\"humidity\":74,\"icon\":\"04n\",\"wind\":10},\"07\":{\"temp\":8,\"pressure\":1005,\"humidity\":69,\"icon\":\"04d\",\"wind\":8},\"10\":{\"temp\":6,\"pressure\":1006,\"humidity\":65,\"icon\":\"04d\",\"wind\":9},\"13\":{\"temp\":7,\"pressure\":1004,\"humidity\":59,\"icon\":\"10d\",\"wind\":7},\"16\":{\"temp\":7,\"pressure\":1004,\"humidity\":58,\"icon\":\"04d\",\"wind\":7},\"19\":{\"temp\":5,\"pressure\":1004,\"humidity\":66,\"icon\":\"03n\",\"wind\":4},\"22\":{\"temp\":4,\"pressure\":1004,\"humidity\":74,\"icon\":\"02n\",\"wind\":4}},\"2024-04-21\":{\"01\":{\"temp\":3,\"pressure\":1004,\"humidity\":77,\"icon\":\"02n\",\"wind\":5},\"04\":{\"temp\":3,\"pressure\":1005,\"humidity\":79,\"icon\":\"01n\",\"wind\":6},\"07\":{\"temp\":4,\"pressure\":1006,\"humidity\":77,\"icon\":\"02d\",\"wind\":6},\"10\":{\"temp\":4,\"pressure\":1006,\"humidity\":71,\"icon\":\"10d\",\"wind\":8},\"13\":{\"temp\":5,\"pressure\":1004,\"humidity\":60,\"icon\":\"04d\",\"wind\":8},\"16\":{\"temp\":5,\"pressure\":1004,\"humidity\":62,\"icon\":\"03d\",\"wind\":7},\"19\":{\"temp\":5,\"pressure\":1003,\"humidity\":66,\"icon\":\"04n\",\"wind\":4},\"22\":{\"temp\":5,\"pressure\":1000,\"humidity\":71,\"icon\":\"04n\",\"wind\":5}},\"2024-04-22\":{\"01\":{\"temp\":-1,\"pressure\":1001,\"humidity\":88,\"icon\":\"13n\",\"wind\":12},\"04\":{\"temp\":-5,\"pressure\":1007,\"humidity\":57,\"icon\":\"13n\",\"wind\":12},\"07\":{\"temp\":-7,\"pressure\":1010,\"humidity\":57,\"icon\":\"04d\",\"wind\":12},\"10\":{\"temp\":-5,\"pressure\":1012,\"humidity\":46,\"icon\":\"04d\",\"wind\":12},\"13\":{\"temp\":-3,\"pressure\":1013,\"humidity\":40,\"icon\":\"04d\",\"wind\":11},\"16\":{\"temp\":-2,\"pressure\":1014,\"humidity\":42,\"icon\":\"04d\",\"wind\":10},\"19\":{\"temp\":-3,\"pressure\":1016,\"humidity\":49,\"icon\":\"04n\",\"wind\":9},\"22\":{\"temp\":-4,\"pressure\":1017,\"humidity\":55,\"icon\":\"04n\",\"wind\":5}}}}' WHERE id = 17814 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 = 17814 AND category_id = 103 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17814 AND category_id = 103
3SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17814 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 ('17814') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('113924','114168','113962','113987')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('113924','114168','113962','113987')
0SELECT * FROM `category` WHERE id IN ('96','103') LIMIT 2
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17814 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','102','103','104','106','107','108','110','115','120','121','127','133','140','155','167') ORDER BY name
0SELECT * FROM counts where updated="2024-04-20" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-20" and table_name like 'news'
0SELECT * 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','171') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('16672','15666') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('74445','74446','74447','74448')
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