0SELECT * FROM `locality` WHERE url = 'miscou-nb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-16\",\"data\":{\"2024-04-16\":{\"01\":{\"temp\":2,\"pressure\":1010,\"humidity\":94,\"icon\":\"04n\",\"wind\":3},\"04\":{\"temp\":2,\"pressure\":1010,\"humidity\":95,\"icon\":\"03n\",\"wind\":2},\"07\":{\"temp\":2,\"pressure\":1011,\"humidity\":94,\"icon\":\"03d\",\"wind\":1},\"10\":{\"temp\":3,\"pressure\":1012,\"humidity\":91,\"icon\":\"03d\",\"wind\":5},\"13\":{\"temp\":3,\"pressure\":1012,\"humidity\":96,\"icon\":\"10d\",\"wind\":6},\"16\":{\"temp\":2,\"pressure\":1012,\"humidity\":94,\"icon\":\"10d\",\"wind\":5},\"19\":{\"temp\":3,\"pressure\":1014,\"humidity\":85,\"icon\":\"04n\",\"wind\":5},\"22\":{\"temp\":2,\"pressure\":1015,\"humidity\":93,\"icon\":\"04n\",\"wind\":5}},\"2024-04-17\":{\"01\":{\"temp\":2,\"pressure\":1015,\"humidity\":92,\"icon\":\"10n\",\"wind\":4},\"04\":{\"temp\":2,\"pressure\":1016,\"humidity\":94,\"icon\":\"10n\",\"wind\":5},\"07\":{\"temp\":2,\"pressure\":1017,\"humidity\":91,\"icon\":\"10d\",\"wind\":5},\"10\":{\"temp\":2,\"pressure\":1018,\"humidity\":90,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":2,\"pressure\":1018,\"humidity\":89,\"icon\":\"04d\",\"wind\":2},\"16\":{\"temp\":3,\"pressure\":1019,\"humidity\":85,\"icon\":\"10d\",\"wind\":3},\"19\":{\"temp\":3,\"pressure\":1020,\"humidity\":85,\"icon\":\"04n\",\"wind\":3},\"22\":{\"temp\":2,\"pressure\":1021,\"humidity\":91,\"icon\":\"04n\",\"wind\":6}},\"2024-04-18\":{\"01\":{\"temp\":2,\"pressure\":1021,\"humidity\":83,\"icon\":\"03n\",\"wind\":6},\"04\":{\"temp\":2,\"pressure\":1022,\"humidity\":81,\"icon\":\"04n\",\"wind\":6},\"07\":{\"temp\":1,\"pressure\":1023,\"humidity\":80,\"icon\":\"03d\",\"wind\":6},\"10\":{\"temp\":2,\"pressure\":1023,\"humidity\":82,\"icon\":\"02d\",\"wind\":5},\"13\":{\"temp\":2,\"pressure\":1022,\"humidity\":79,\"icon\":\"02d\",\"wind\":6},\"16\":{\"temp\":2,\"pressure\":1021,\"humidity\":76,\"icon\":\"02d\",\"wind\":2},\"19\":{\"temp\":2,\"pressure\":1021,\"humidity\":74,\"icon\":\"01n\",\"wind\":3},\"22\":{\"temp\":2,\"pressure\":1020,\"humidity\":78,\"icon\":\"01n\",\"wind\":4}}}}' WHERE id = 15536 LIMIT 1
0SELECT * FROM `region` WHERE id = 171 LIMIT 1
0SELECT * FROM `category` WHERE url = 'lodging' LIMIT 1
3SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15536 AND category_id = 107 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15536 AND category_id = 107
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15536 AND category_item.category_id = 107 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('171') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15536') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('85122','171674')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('85122','171674')
0SELECT * FROM `category` WHERE id IN ('96','106','107','108') LIMIT 4
2SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15536 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','106','107','108','113','120','121','175') 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'
1SELECT * FROM `category` ORDER BY name
2SELECT * 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','177','179') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('14339','14598','17380','18594') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('202660','202661','202662','202663')
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