0SELECT * FROM `locality` WHERE url = 'creemore-on' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-24\",\"data\":{\"2024-04-24\":{\"01\":{\"temp\":7,\"pressure\":1007,\"humidity\":89,\"icon\":\"10n\",\"wind\":3},\"04\":{\"temp\":3,\"pressure\":1010,\"humidity\":92,\"icon\":\"13n\",\"wind\":7},\"07\":{\"temp\":-4,\"pressure\":1017,\"humidity\":91,\"icon\":\"13d\",\"wind\":8},\"10\":{\"temp\":-2,\"pressure\":1021,\"humidity\":52,\"icon\":\"04d\",\"wind\":8},\"13\":{\"temp\":2,\"pressure\":1023,\"humidity\":32,\"icon\":\"03d\",\"wind\":7},\"16\":{\"temp\":2,\"pressure\":1024,\"humidity\":35,\"icon\":\"01d\",\"wind\":7},\"19\":{\"temp\":-0,\"pressure\":1026,\"humidity\":47,\"icon\":\"01d\",\"wind\":4},\"22\":{\"temp\":-2,\"pressure\":1028,\"humidity\":61,\"icon\":\"01n\",\"wind\":2}},\"2024-04-25\":{\"01\":{\"temp\":-3,\"pressure\":1029,\"humidity\":52,\"icon\":\"01n\",\"wind\":0},\"04\":{\"temp\":-3,\"pressure\":1030,\"humidity\":49,\"icon\":\"01n\",\"wind\":0},\"07\":{\"temp\":-0,\"pressure\":1031,\"humidity\":42,\"icon\":\"01d\",\"wind\":2},\"10\":{\"temp\":5,\"pressure\":1030,\"humidity\":33,\"icon\":\"01d\",\"wind\":2},\"13\":{\"temp\":9,\"pressure\":1028,\"humidity\":34,\"icon\":\"01d\",\"wind\":1},\"16\":{\"temp\":8,\"pressure\":1027,\"humidity\":39,\"icon\":\"01d\",\"wind\":3},\"19\":{\"temp\":1,\"pressure\":1029,\"humidity\":59,\"icon\":\"01d\",\"wind\":2},\"22\":{\"temp\":-0,\"pressure\":1030,\"humidity\":52,\"icon\":\"01n\",\"wind\":0}},\"2024-04-26\":{\"01\":{\"temp\":-0,\"pressure\":1029,\"humidity\":52,\"icon\":\"01n\",\"wind\":2},\"04\":{\"temp\":-0,\"pressure\":1029,\"humidity\":67,\"icon\":\"02n\",\"wind\":2},\"07\":{\"temp\":3,\"pressure\":1029,\"humidity\":46,\"icon\":\"02d\",\"wind\":3},\"10\":{\"temp\":9,\"pressure\":1029,\"humidity\":41,\"icon\":\"01d\",\"wind\":5},\"13\":{\"temp\":12,\"pressure\":1027,\"humidity\":34,\"icon\":\"02d\",\"wind\":6},\"16\":{\"temp\":11,\"pressure\":1025,\"humidity\":40,\"icon\":\"02d\",\"wind\":6},\"19\":{\"temp\":7,\"pressure\":1025,\"humidity\":66,\"icon\":\"04d\",\"wind\":4},\"22\":{\"temp\":4,\"pressure\":1024,\"humidity\":60,\"icon\":\"04n\",\"wind\":4}}}}' WHERE id = 16602 LIMIT 1
0SELECT * FROM `region` WHERE id = 176 LIMIT 1
0SELECT * FROM `category` WHERE url = 'school' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 16602 AND category_id = 104 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 16602 AND category_id = 104
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 16602 AND category_item.category_id = 104 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('16602') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('296559')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('296559')
0SELECT * FROM `category` WHERE id IN ('96','104') LIMIT 2
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 16602 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','105','107','108','110','113','114','115','118','119','120','121','122','123','125','126','127','128','129','136','137','139','141','143','144','148','152','154','155','158','162','164','166','173','178','182') ORDER BY name
0SELECT * FROM counts where updated="2024-04-24" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-24" 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 ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('16539','16512','17099') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('110669','110670','110671','110672')
1SELECT * 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