0SELECT * FROM `locality` WHERE url = 'delisle-sk' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-16\",\"data\":{\"2024-04-16\":{\"01\":{\"temp\":9,\"pressure\":1002,\"humidity\":57,\"icon\":\"10n\",\"wind\":9},\"04\":{\"temp\":9,\"pressure\":1003,\"humidity\":66,\"icon\":\"04n\",\"wind\":5},\"07\":{\"temp\":7,\"pressure\":1005,\"humidity\":81,\"icon\":\"04n\",\"wind\":6},\"10\":{\"temp\":6,\"pressure\":1008,\"humidity\":80,\"icon\":\"04d\",\"wind\":8},\"13\":{\"temp\":5,\"pressure\":1010,\"humidity\":82,\"icon\":\"04d\",\"wind\":8},\"16\":{\"temp\":5,\"pressure\":1012,\"humidity\":77,\"icon\":\"10d\",\"wind\":7},\"19\":{\"temp\":5,\"pressure\":1013,\"humidity\":81,\"icon\":\"10d\",\"wind\":7},\"22\":{\"temp\":4,\"pressure\":1015,\"humidity\":78,\"icon\":\"10n\",\"wind\":7}},\"2024-04-17\":{\"01\":{\"temp\":2,\"pressure\":1016,\"humidity\":89,\"icon\":\"04n\",\"wind\":7},\"04\":{\"temp\":2,\"pressure\":1016,\"humidity\":84,\"icon\":\"13n\",\"wind\":7},\"07\":{\"temp\":1,\"pressure\":1017,\"humidity\":77,\"icon\":\"13n\",\"wind\":10},\"10\":{\"temp\":1,\"pressure\":1018,\"humidity\":68,\"icon\":\"04d\",\"wind\":10},\"13\":{\"temp\":2,\"pressure\":1019,\"humidity\":59,\"icon\":\"04d\",\"wind\":10},\"16\":{\"temp\":1,\"pressure\":1020,\"humidity\":68,\"icon\":\"13d\",\"wind\":10},\"19\":{\"temp\":-1,\"pressure\":1022,\"humidity\":81,\"icon\":\"13d\",\"wind\":10},\"22\":{\"temp\":-3,\"pressure\":1025,\"humidity\":94,\"icon\":\"13n\",\"wind\":8}},\"2024-04-18\":{\"01\":{\"temp\":-4,\"pressure\":1027,\"humidity\":93,\"icon\":\"13n\",\"wind\":7},\"04\":{\"temp\":-5,\"pressure\":1028,\"humidity\":94,\"icon\":\"13n\",\"wind\":7},\"07\":{\"temp\":-6,\"pressure\":1029,\"humidity\":92,\"icon\":\"13n\",\"wind\":8},\"10\":{\"temp\":-6,\"pressure\":1030,\"humidity\":89,\"icon\":\"13d\",\"wind\":8},\"13\":{\"temp\":-5,\"pressure\":1029,\"humidity\":85,\"icon\":\"13d\",\"wind\":8},\"16\":{\"temp\":-3,\"pressure\":1029,\"humidity\":83,\"icon\":\"13d\",\"wind\":8},\"19\":{\"temp\":-4,\"pressure\":1029,\"humidity\":93,\"icon\":\"13d\",\"wind\":7},\"22\":{\"temp\":-5,\"pressure\":1030,\"humidity\":95,\"icon\":\"13n\",\"wind\":6}}}}' WHERE id = 18577 LIMIT 1
0SELECT * FROM `region` WHERE id = 179 LIMIT 1
0SELECT * FROM `category` WHERE url = 'lodging' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 18577 AND category_id = 107 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 18577 AND category_id = 107
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 18577 AND category_item.category_id = 107 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('179') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('18577') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('228798','228819')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('228798','228819')
0SELECT * FROM `category` WHERE id IN ('96','99','107','106','108') LIMIT 5
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 18577 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','103','104','106','107','108','110','111','115','118','119','120','121','122','126','127','128','130','132','133','137','141','152','155','164','168') ORDER BY name
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
2SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
3SELECT * FROM `category` ORDER BY name
4SELECT * 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
1SELECT * FROM `region` WHERE id IN ('168','170','178') LIMIT 3
1SELECT * FROM `locality` WHERE id IN ('14294','15132','14463','18109') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('395045','395046','395048','395049')
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 ('178') LIMIT 1