0SELECT * FROM `locality` WHERE url = 'saint-isidore-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-18\",\"data\":{\"2024-04-18\":{\"01\":{\"temp\":2,\"pressure\":1024,\"humidity\":77,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":1,\"pressure\":1024,\"humidity\":83,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":3,\"pressure\":1024,\"humidity\":73,\"icon\":\"04d\",\"wind\":5},\"10\":{\"temp\":9,\"pressure\":1022,\"humidity\":50,\"icon\":\"04d\",\"wind\":6},\"13\":{\"temp\":12,\"pressure\":1020,\"humidity\":44,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":9,\"pressure\":1020,\"humidity\":57,\"icon\":\"04d\",\"wind\":6},\"19\":{\"temp\":5,\"pressure\":1021,\"humidity\":68,\"icon\":\"04n\",\"wind\":5},\"22\":{\"temp\":4,\"pressure\":1021,\"humidity\":77,\"icon\":\"04n\",\"wind\":3}},\"2024-04-19\":{\"01\":{\"temp\":3,\"pressure\":1020,\"humidity\":88,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":4,\"pressure\":1020,\"humidity\":86,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":4,\"pressure\":1020,\"humidity\":85,\"icon\":\"04d\",\"wind\":3},\"10\":{\"temp\":6,\"pressure\":1018,\"humidity\":72,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":9,\"pressure\":1015,\"humidity\":63,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":10,\"pressure\":1011,\"humidity\":67,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":9,\"pressure\":1009,\"humidity\":79,\"icon\":\"10n\",\"wind\":5},\"22\":{\"temp\":10,\"pressure\":1007,\"humidity\":77,\"icon\":\"10n\",\"wind\":9}},\"2024-04-20\":{\"01\":{\"temp\":8,\"pressure\":1008,\"humidity\":79,\"icon\":\"04n\",\"wind\":9},\"04\":{\"temp\":4,\"pressure\":1010,\"humidity\":73,\"icon\":\"03n\",\"wind\":8},\"07\":{\"temp\":5,\"pressure\":1011,\"humidity\":68,\"icon\":\"02d\",\"wind\":7},\"10\":{\"temp\":8,\"pressure\":1010,\"humidity\":47,\"icon\":\"02d\",\"wind\":9},\"13\":{\"temp\":9,\"pressure\":1008,\"humidity\":43,\"icon\":\"04d\",\"wind\":9},\"16\":{\"temp\":9,\"pressure\":1007,\"humidity\":55,\"icon\":\"10d\",\"wind\":7},\"19\":{\"temp\":5,\"pressure\":1008,\"humidity\":77,\"icon\":\"10n\",\"wind\":3},\"22\":{\"temp\":4,\"pressure\":1007,\"humidity\":83,\"icon\":\"10n\",\"wind\":5}}}}' WHERE id = 17965 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'park' LIMIT 1
3SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17965 AND category_id = 108 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17965 AND category_id = 108
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17965 AND category_item.category_id = 108 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('17965') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('451491','451522','411587','451524')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('451491','451522','411587','451524')
0SELECT * FROM `category` WHERE id IN ('96','108','181') LIMIT 3
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17965 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','107','108','110','111','113','115','116','118','120','121','124','125','126','127','128','129','130','131','133','134','138','139','143','144','154','164','166','167','168','181') 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'
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
0SELECT * FROM `region` WHERE id IN ('176','178','171') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('16921','17595','15607') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('42293','42294','42295','42296')
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 ('172') LIMIT 1