0SELECT * FROM `locality` WHERE url = 'fermont-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-18\",\"data\":{\"2024-04-18\":{\"01\":{\"temp\":-5,\"pressure\":1030,\"humidity\":68,\"icon\":\"03n\",\"wind\":2},\"04\":{\"temp\":-7,\"pressure\":1031,\"humidity\":83,\"icon\":\"03n\",\"wind\":1},\"07\":{\"temp\":-4,\"pressure\":1031,\"humidity\":75,\"icon\":\"03d\",\"wind\":3},\"10\":{\"temp\":-0,\"pressure\":1029,\"humidity\":61,\"icon\":\"02d\",\"wind\":3},\"13\":{\"temp\":3,\"pressure\":1026,\"humidity\":47,\"icon\":\"03d\",\"wind\":2},\"16\":{\"temp\":3,\"pressure\":1025,\"humidity\":41,\"icon\":\"03d\",\"wind\":1},\"19\":{\"temp\":-0,\"pressure\":1026,\"humidity\":61,\"icon\":\"03n\",\"wind\":1},\"22\":{\"temp\":-1,\"pressure\":1025,\"humidity\":66,\"icon\":\"04n\",\"wind\":1}},\"2024-04-19\":{\"01\":{\"temp\":-2,\"pressure\":1024,\"humidity\":78,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":-3,\"pressure\":1023,\"humidity\":80,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":-1,\"pressure\":1021,\"humidity\":65,\"icon\":\"04d\",\"wind\":2},\"10\":{\"temp\":3,\"pressure\":1018,\"humidity\":53,\"icon\":\"04d\",\"wind\":4},\"13\":{\"temp\":7,\"pressure\":1013,\"humidity\":47,\"icon\":\"04d\",\"wind\":7},\"16\":{\"temp\":5,\"pressure\":1010,\"humidity\":68,\"icon\":\"04d\",\"wind\":7},\"19\":{\"temp\":2,\"pressure\":1009,\"humidity\":74,\"icon\":\"04n\",\"wind\":8},\"22\":{\"temp\":-0,\"pressure\":1006,\"humidity\":95,\"icon\":\"13n\",\"wind\":8}},\"2024-04-20\":{\"01\":{\"temp\":1,\"pressure\":1000,\"humidity\":97,\"icon\":\"13n\",\"wind\":8},\"04\":{\"temp\":0,\"pressure\":997,\"humidity\":98,\"icon\":\"13n\",\"wind\":8},\"07\":{\"temp\":1,\"pressure\":994,\"humidity\":97,\"icon\":\"13d\",\"wind\":9},\"10\":{\"temp\":1,\"pressure\":994,\"humidity\":97,\"icon\":\"13d\",\"wind\":7},\"13\":{\"temp\":5,\"pressure\":993,\"humidity\":71,\"icon\":\"13d\",\"wind\":9},\"16\":{\"temp\":3,\"pressure\":994,\"humidity\":73,\"icon\":\"13d\",\"wind\":9},\"19\":{\"temp\":1,\"pressure\":996,\"humidity\":75,\"icon\":\"13n\",\"wind\":8},\"22\":{\"temp\":-0,\"pressure\":996,\"humidity\":85,\"icon\":\"13n\",\"wind\":9}}}}' WHERE id = 17593 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'lodging' LIMIT 1
1SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17593 AND category_id = 107 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17593 AND category_id = 107
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17593 AND category_item.category_id = 107 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('17593') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('237288')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('237288')
0SELECT * FROM `category` WHERE id IN ('96','107') LIMIT 2
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17593 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','107','108','110','112','114','117','118','119','120','121','125','126','127','128','130','131','133','134','136','138','142','143','144','148','152','154','155','157','159','160','164','168','169','174') 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
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 ('168','179') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('14194','18517','18577','18877') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('228947','228948','228949','228950')
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 ('177') LIMIT 1