0SELECT * FROM `locality` WHERE url = 'willow-grove-nb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-25\",\"data\":{\"2024-04-25\":{\"01\":{\"temp\":-1,\"pressure\":1013,\"humidity\":69,\"icon\":\"04n\",\"wind\":8},\"04\":{\"temp\":-3,\"pressure\":1015,\"humidity\":71,\"icon\":\"04n\",\"wind\":7},\"07\":{\"temp\":-3,\"pressure\":1018,\"humidity\":57,\"icon\":\"03d\",\"wind\":8},\"10\":{\"temp\":2,\"pressure\":1022,\"humidity\":32,\"icon\":\"01d\",\"wind\":7},\"13\":{\"temp\":6,\"pressure\":1021,\"humidity\":33,\"icon\":\"01d\",\"wind\":7},\"16\":{\"temp\":6,\"pressure\":1023,\"humidity\":38,\"icon\":\"01d\",\"wind\":6},\"19\":{\"temp\":2,\"pressure\":1026,\"humidity\":52,\"icon\":\"01n\",\"wind\":3},\"22\":{\"temp\":-1,\"pressure\":1028,\"humidity\":60,\"icon\":\"01n\",\"wind\":1}},\"2024-04-26\":{\"01\":{\"temp\":-2,\"pressure\":1029,\"humidity\":64,\"icon\":\"02n\",\"wind\":2},\"04\":{\"temp\":-2,\"pressure\":1030,\"humidity\":64,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":3,\"pressure\":1031,\"humidity\":43,\"icon\":\"01d\",\"wind\":3},\"10\":{\"temp\":7,\"pressure\":1030,\"humidity\":37,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":8,\"pressure\":1029,\"humidity\":35,\"icon\":\"03d\",\"wind\":4},\"16\":{\"temp\":8,\"pressure\":1029,\"humidity\":36,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":2,\"pressure\":1031,\"humidity\":65,\"icon\":\"04n\",\"wind\":2},\"22\":{\"temp\":0,\"pressure\":1032,\"humidity\":64,\"icon\":\"04n\",\"wind\":2}},\"2024-04-27\":{\"01\":{\"temp\":-1,\"pressure\":1032,\"humidity\":68,\"icon\":\"04n\",\"wind\":1},\"04\":{\"temp\":-2,\"pressure\":1032,\"humidity\":70,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":4,\"pressure\":1033,\"humidity\":47,\"icon\":\"01d\",\"wind\":2},\"10\":{\"temp\":8,\"pressure\":1033,\"humidity\":41,\"icon\":\"01d\",\"wind\":1},\"13\":{\"temp\":8,\"pressure\":1031,\"humidity\":45,\"icon\":\"01d\",\"wind\":2},\"16\":{\"temp\":7,\"pressure\":1029,\"humidity\":47,\"icon\":\"01d\",\"wind\":2},\"19\":{\"temp\":2,\"pressure\":1030,\"humidity\":63,\"icon\":\"01n\",\"wind\":1},\"22\":{\"temp\":1,\"pressure\":1030,\"humidity\":70,\"icon\":\"01n\",\"wind\":3}}}}' WHERE id = 15691 LIMIT 1
0SELECT * FROM `region` WHERE id = 171 LIMIT 1
0SELECT * FROM `category` WHERE url = 'food' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15691 AND category_id = 99 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15691 AND category_id = 99
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15691 AND category_item.category_id = 99 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('171') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15691') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('307430','307498','307346')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('307430','307498','307346')
0SELECT * FROM `category` WHERE id IN ('96','99','110','115') LIMIT 4
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15691 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','99','100','103','110','115','118') ORDER BY name
0SELECT * FROM counts where updated="2024-04-25" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-25" 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','176') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('17535','17316','17033') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('303149','303150','303151','303152')
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