0SELECT * FROM `locality` WHERE url = 'saint-hugues-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-16\",\"data\":{\"2024-04-16\":{\"01\":{\"temp\":8,\"pressure\":1014,\"humidity\":79,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":7,\"pressure\":1015,\"humidity\":78,\"icon\":\"04n\",\"wind\":4},\"07\":{\"temp\":6,\"pressure\":1017,\"humidity\":67,\"icon\":\"03d\",\"wind\":5},\"10\":{\"temp\":7,\"pressure\":1019,\"humidity\":53,\"icon\":\"02d\",\"wind\":5},\"13\":{\"temp\":9,\"pressure\":1019,\"humidity\":45,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":9,\"pressure\":1020,\"humidity\":46,\"icon\":\"04d\",\"wind\":7},\"19\":{\"temp\":5,\"pressure\":1023,\"humidity\":57,\"icon\":\"04n\",\"wind\":4},\"22\":{\"temp\":3,\"pressure\":1024,\"humidity\":66,\"icon\":\"01n\",\"wind\":3}},\"2024-04-17\":{\"01\":{\"temp\":1,\"pressure\":1025,\"humidity\":73,\"icon\":\"01n\",\"wind\":3},\"04\":{\"temp\":-0,\"pressure\":1026,\"humidity\":79,\"icon\":\"01n\",\"wind\":3},\"07\":{\"temp\":3,\"pressure\":1026,\"humidity\":67,\"icon\":\"01d\",\"wind\":4},\"10\":{\"temp\":6,\"pressure\":1025,\"humidity\":52,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":10,\"pressure\":1023,\"humidity\":46,\"icon\":\"01d\",\"wind\":4},\"16\":{\"temp\":11,\"pressure\":1021,\"humidity\":42,\"icon\":\"03d\",\"wind\":4},\"19\":{\"temp\":7,\"pressure\":1021,\"humidity\":58,\"icon\":\"04n\",\"wind\":3},\"22\":{\"temp\":5,\"pressure\":1021,\"humidity\":66,\"icon\":\"04n\",\"wind\":5}},\"2024-04-18\":{\"01\":{\"temp\":4,\"pressure\":1020,\"humidity\":61,\"icon\":\"04n\",\"wind\":6},\"04\":{\"temp\":3,\"pressure\":1019,\"humidity\":61,\"icon\":\"04n\",\"wind\":7},\"07\":{\"temp\":5,\"pressure\":1019,\"humidity\":61,\"icon\":\"04d\",\"wind\":7},\"10\":{\"temp\":11,\"pressure\":1018,\"humidity\":49,\"icon\":\"04d\",\"wind\":6},\"13\":{\"temp\":15,\"pressure\":1016,\"humidity\":53,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":8,\"pressure\":1017,\"humidity\":89,\"icon\":\"10d\",\"wind\":4},\"19\":{\"temp\":7,\"pressure\":1017,\"humidity\":89,\"icon\":\"10n\",\"wind\":3},\"22\":{\"temp\":7,\"pressure\":1017,\"humidity\":87,\"icon\":\"10n\",\"wind\":3}}}}' WHERE id = 18128 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'place-of-worship' LIMIT 1
13SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 18128 AND category_id = 121 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 18128 AND category_id = 121
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 18128 AND category_item.category_id = 121 ORDER BY item.name LIMIT 0,24
1SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
1SELECT * FROM `locality` WHERE id IN ('18128') LIMIT 1
1SELECT * FROM `photos` WHERE `item_id` IN ('443687','443656')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('443687','443656')
1SELECT * FROM `category` WHERE id IN ('96','120','121') LIMIT 3
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 18128 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','101','102','103','104','108','113','120','121','125','126','127','130','131','133','136','139','156','164') ORDER BY name
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-16" 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 ('169','179','168') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('14821','18882','14595') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('229449','229450','229451','229452')
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