0SELECT * FROM `locality` WHERE url = 'saint-gabriel-de-brandon-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-24\",\"data\":{\"2024-04-23\":{\"22\":{\"temp\":12,\"pressure\":1007,\"humidity\":73,\"icon\":\"10n\",\"wind\":3}},\"2024-04-24\":{\"01\":{\"temp\":10,\"pressure\":1006,\"humidity\":86,\"icon\":\"10n\",\"wind\":2},\"04\":{\"temp\":7,\"pressure\":1003,\"humidity\":96,\"icon\":\"10n\",\"wind\":2},\"07\":{\"temp\":0,\"pressure\":1008,\"humidity\":89,\"icon\":\"13d\",\"wind\":7},\"10\":{\"temp\":1,\"pressure\":1011,\"humidity\":66,\"icon\":\"13d\",\"wind\":7},\"13\":{\"temp\":2,\"pressure\":1014,\"humidity\":38,\"icon\":\"04d\",\"wind\":7},\"16\":{\"temp\":1,\"pressure\":1018,\"humidity\":36,\"icon\":\"02d\",\"wind\":7},\"19\":{\"temp\":-3,\"pressure\":1022,\"humidity\":45,\"icon\":\"02n\",\"wind\":5},\"22\":{\"temp\":-4,\"pressure\":1024,\"humidity\":53,\"icon\":\"01n\",\"wind\":4}},\"2024-04-25\":{\"01\":{\"temp\":-5,\"pressure\":1026,\"humidity\":57,\"icon\":\"01n\",\"wind\":4},\"04\":{\"temp\":-5,\"pressure\":1027,\"humidity\":55,\"icon\":\"01n\",\"wind\":3},\"07\":{\"temp\":-3,\"pressure\":1029,\"humidity\":43,\"icon\":\"01d\",\"wind\":3},\"10\":{\"temp\":4,\"pressure\":1028,\"humidity\":28,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":7,\"pressure\":1026,\"humidity\":25,\"icon\":\"01d\",\"wind\":3},\"16\":{\"temp\":8,\"pressure\":1025,\"humidity\":26,\"icon\":\"04d\",\"wind\":4},\"19\":{\"temp\":2,\"pressure\":1027,\"humidity\":44,\"icon\":\"03n\",\"wind\":2},\"22\":{\"temp\":-0,\"pressure\":1029,\"humidity\":51,\"icon\":\"01n\",\"wind\":2}}}}' WHERE id = 18103 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'convenience-store' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 18103 AND category_id = 115 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 18103 AND category_id = 115
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 18103 AND category_item.category_id = 115 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('18103') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('88872','55550')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('88872','55550')
0SELECT * FROM `category` WHERE id IN ('96','99','115','110') LIMIT 4
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 18103 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','101','102','103','104','105','106','107','108','110','111','114','115','117','118','120','121','123','124','125','126','127','128','130','131','132','133','134','136','137','138','139','140','142','143','144','148','150','152','154','155','156','158','159','160','161','162','164','166','168','172','174','175') ORDER BY name
0SELECT * FROM counts where updated="2024-04-24" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-24" 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 ('178','168','176') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('17970','14286','17217','17430') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('464438','464439','464440','464441')
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