2SELECT * FROM `locality` WHERE url = 'wood-mountain-sk' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-16\",\"data\":{\"2024-04-16\":{\"01\":{\"temp\":11,\"pressure\":1005,\"humidity\":60,\"icon\":\"04n\",\"wind\":6},\"04\":{\"temp\":11,\"pressure\":1005,\"humidity\":62,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":9,\"pressure\":1006,\"humidity\":78,\"icon\":\"04n\",\"wind\":7},\"10\":{\"temp\":9,\"pressure\":1009,\"humidity\":74,\"icon\":\"04d\",\"wind\":7},\"13\":{\"temp\":9,\"pressure\":1010,\"humidity\":65,\"icon\":\"04d\",\"wind\":6},\"16\":{\"temp\":7,\"pressure\":1011,\"humidity\":69,\"icon\":\"10d\",\"wind\":7},\"19\":{\"temp\":6,\"pressure\":1013,\"humidity\":69,\"icon\":\"10d\",\"wind\":8},\"22\":{\"temp\":4,\"pressure\":1015,\"humidity\":65,\"icon\":\"04n\",\"wind\":6}},\"2024-04-17\":{\"01\":{\"temp\":3,\"pressure\":1016,\"humidity\":71,\"icon\":\"04n\",\"wind\":6},\"04\":{\"temp\":1,\"pressure\":1017,\"humidity\":74,\"icon\":\"04n\",\"wind\":8},\"07\":{\"temp\":-1,\"pressure\":1019,\"humidity\":94,\"icon\":\"04n\",\"wind\":6},\"10\":{\"temp\":1,\"pressure\":1018,\"humidity\":78,\"icon\":\"13d\",\"wind\":9},\"13\":{\"temp\":1,\"pressure\":1020,\"humidity\":63,\"icon\":\"13d\",\"wind\":10},\"16\":{\"temp\":1,\"pressure\":1021,\"humidity\":56,\"icon\":\"04d\",\"wind\":10},\"19\":{\"temp\":2,\"pressure\":1021,\"humidity\":56,\"icon\":\"13d\",\"wind\":10},\"22\":{\"temp\":-1,\"pressure\":1024,\"humidity\":79,\"icon\":\"13n\",\"wind\":8}},\"2024-04-18\":{\"01\":{\"temp\":-4,\"pressure\":1026,\"humidity\":84,\"icon\":\"13n\",\"wind\":8},\"04\":{\"temp\":-5,\"pressure\":1026,\"humidity\":87,\"icon\":\"13n\",\"wind\":9},\"07\":{\"temp\":-5,\"pressure\":1028,\"humidity\":83,\"icon\":\"13n\",\"wind\":9},\"10\":{\"temp\":-4,\"pressure\":1028,\"humidity\":73,\"icon\":\"13d\",\"wind\":10},\"13\":{\"temp\":-2,\"pressure\":1027,\"humidity\":59,\"icon\":\"04d\",\"wind\":10},\"16\":{\"temp\":-1,\"pressure\":1027,\"humidity\":58,\"icon\":\"13d\",\"wind\":10},\"19\":{\"temp\":-2,\"pressure\":1027,\"humidity\":64,\"icon\":\"13d\",\"wind\":9},\"22\":{\"temp\":-5,\"pressure\":1029,\"humidity\":85,\"icon\":\"13n\",\"wind\":6}}}}' WHERE id = 18911 LIMIT 1
0SELECT * FROM `region` WHERE id = 179 LIMIT 1
0SELECT * FROM `category` WHERE url = 'park' LIMIT 1
4SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 18911 AND category_id = 108 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 18911 AND category_id = 108
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 18911 AND category_item.category_id = 108 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('179') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('18911') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('123055','138998')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('123055','138998')
0SELECT * FROM `category` WHERE id IN ('96','106','107','108') LIMIT 4
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 18911 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','106','107','108','119','120','121','133','160') ORDER BY name
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
3SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
0SELECT * 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 ('169','168') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('14831','14490') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('198380','198381','198382','198383')
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