1SELECT * FROM `locality` WHERE url = 'perce-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-18\",\"data\":{\"2024-04-18\":{\"01\":{\"temp\":1,\"pressure\":1023,\"humidity\":80,\"icon\":\"04n\",\"wind\":8},\"04\":{\"temp\":1,\"pressure\":1023,\"humidity\":81,\"icon\":\"03n\",\"wind\":6},\"07\":{\"temp\":1,\"pressure\":1024,\"humidity\":78,\"icon\":\"03d\",\"wind\":8},\"10\":{\"temp\":1,\"pressure\":1025,\"humidity\":71,\"icon\":\"02d\",\"wind\":8},\"13\":{\"temp\":2,\"pressure\":1024,\"humidity\":64,\"icon\":\"02d\",\"wind\":7},\"16\":{\"temp\":3,\"pressure\":1024,\"humidity\":59,\"icon\":\"01d\",\"wind\":5},\"19\":{\"temp\":2,\"pressure\":1024,\"humidity\":74,\"icon\":\"01n\",\"wind\":3},\"22\":{\"temp\":1,\"pressure\":1024,\"humidity\":77,\"icon\":\"04n\",\"wind\":3}},\"2024-04-19\":{\"01\":{\"temp\":1,\"pressure\":1023,\"humidity\":76,\"icon\":\"04n\",\"wind\":3},\"04\":{\"temp\":1,\"pressure\":1023,\"humidity\":75,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":3,\"pressure\":1024,\"humidity\":67,\"icon\":\"04d\",\"wind\":2},\"10\":{\"temp\":3,\"pressure\":1023,\"humidity\":65,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":3,\"pressure\":1022,\"humidity\":64,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":3,\"pressure\":1020,\"humidity\":67,\"icon\":\"03d\",\"wind\":6},\"19\":{\"temp\":1,\"pressure\":1019,\"humidity\":76,\"icon\":\"03n\",\"wind\":5},\"22\":{\"temp\":1,\"pressure\":1017,\"humidity\":77,\"icon\":\"04n\",\"wind\":5}},\"2024-04-20\":{\"01\":{\"temp\":1,\"pressure\":1013,\"humidity\":82,\"icon\":\"04n\",\"wind\":7},\"04\":{\"temp\":2,\"pressure\":1010,\"humidity\":85,\"icon\":\"04n\",\"wind\":10},\"07\":{\"temp\":2,\"pressure\":1009,\"humidity\":81,\"icon\":\"04d\",\"wind\":9},\"10\":{\"temp\":4,\"pressure\":1008,\"humidity\":81,\"icon\":\"04d\",\"wind\":8},\"13\":{\"temp\":6,\"pressure\":1006,\"humidity\":67,\"icon\":\"04d\",\"wind\":8},\"16\":{\"temp\":6,\"pressure\":1005,\"humidity\":72,\"icon\":\"04d\",\"wind\":7},\"19\":{\"temp\":3,\"pressure\":1006,\"humidity\":90,\"icon\":\"04n\",\"wind\":3},\"22\":{\"temp\":3,\"pressure\":1004,\"humidity\":85,\"icon\":\"04n\",\"wind\":3}}}}' WHERE id = 17889 LIMIT 1
0SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'night-club' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 17889 AND category_id = 161 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 17889 AND category_id = 161
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 17889 AND category_item.category_id = 161 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('17889') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('113211')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('113211')
0SELECT * FROM `category` WHERE id IN ('96','99','144','155','161') LIMIT 5
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 17889 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','102','103','106','107','108','110','114','115','118','119','120','121','122','126','127','128','129','133','142','143','144','146','147','148','150','155','158','159','161','163','167','168','173','175','177','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'
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 ('176','174') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('16860','16978','16555','16093') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('299188','299189','299190','299191')
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