0SELECT * FROM `locality` WHERE url = 'curran-on' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-23\",\"data\":{\"2024-04-23\":{\"04\":{\"temp\":3,\"pressure\":1016,\"humidity\":73,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":5,\"pressure\":1015,\"humidity\":68,\"icon\":\"04d\",\"wind\":5},\"10\":{\"temp\":12,\"pressure\":1012,\"humidity\":56,\"icon\":\"04d\",\"wind\":9},\"13\":{\"temp\":16,\"pressure\":1010,\"humidity\":47,\"icon\":\"04d\",\"wind\":10},\"16\":{\"temp\":15,\"pressure\":1008,\"humidity\":57,\"icon\":\"04d\",\"wind\":10},\"19\":{\"temp\":12,\"pressure\":1008,\"humidity\":70,\"icon\":\"10n\",\"wind\":5},\"22\":{\"temp\":9,\"pressure\":1007,\"humidity\":94,\"icon\":\"10n\",\"wind\":3}},\"2024-04-24\":{\"01\":{\"temp\":9,\"pressure\":1005,\"humidity\":95,\"icon\":\"10n\",\"wind\":4},\"04\":{\"temp\":9,\"pressure\":1003,\"humidity\":99,\"icon\":\"10n\",\"wind\":2},\"07\":{\"temp\":0,\"pressure\":1006,\"humidity\":93,\"icon\":\"13d\",\"wind\":11},\"10\":{\"temp\":-3,\"pressure\":1013,\"humidity\":82,\"icon\":\"13d\",\"wind\":8},\"13\":{\"temp\":2,\"pressure\":1016,\"humidity\":76,\"icon\":\"10d\",\"wind\":6},\"16\":{\"temp\":4,\"pressure\":1019,\"humidity\":64,\"icon\":\"01d\",\"wind\":6},\"19\":{\"temp\":-1,\"pressure\":1023,\"humidity\":73,\"icon\":\"01n\",\"wind\":3},\"22\":{\"temp\":-3,\"pressure\":1025,\"humidity\":78,\"icon\":\"01n\",\"wind\":3}},\"2024-04-25\":{\"01\":{\"temp\":-3,\"pressure\":1027,\"humidity\":79,\"icon\":\"01n\",\"wind\":3},\"04\":{\"temp\":-4,\"pressure\":1028,\"humidity\":80,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":-1,\"pressure\":1030,\"humidity\":63,\"icon\":\"01d\",\"wind\":2},\"10\":{\"temp\":3,\"pressure\":1030,\"humidity\":50,\"icon\":\"01d\",\"wind\":2},\"13\":{\"temp\":7,\"pressure\":1028,\"humidity\":41,\"icon\":\"01d\",\"wind\":4},\"16\":{\"temp\":9,\"pressure\":1027,\"humidity\":38,\"icon\":\"03d\",\"wind\":3},\"19\":{\"temp\":4,\"pressure\":1027,\"humidity\":73,\"icon\":\"03n\",\"wind\":4},\"22\":{\"temp\":1,\"pressure\":1028,\"humidity\":72,\"icon\":\"02n\",\"wind\":2}}}}' WHERE id = 16606 LIMIT 1
0SELECT * FROM `region` WHERE id = 176 LIMIT 1
0SELECT * FROM `category` WHERE url = 'gas-station' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 16606 AND category_id = 110 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 16606 AND category_id = 110
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 16606 AND category_item.category_id = 110 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('16606') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('399715','399733')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('399715','399733')
0SELECT * FROM `category` WHERE id IN ('96','99','102','110') LIMIT 4
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 16606 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','106','107','108','110','113','114','118','119','120','121','162') ORDER BY name
0SELECT * FROM counts where updated="2024-04-23" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-23" 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 ('172','176','178') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('15732','16761','17559') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('86689','86690','86691','86692')
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 ('170') LIMIT 1