0SELECT * FROM `locality` WHERE url = 'garnish-nl' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-18\":{\"22\":{\"temp\":2,\"pressure\":1004,\"humidity\":95,\"icon\":\"04n\",\"wind\":17}},\"2024-04-19\":{\"01\":{\"temp\":2,\"pressure\":1006,\"humidity\":93,\"icon\":\"10n\",\"wind\":14},\"04\":{\"temp\":1,\"pressure\":1010,\"humidity\":89,\"icon\":\"10d\",\"wind\":13},\"07\":{\"temp\":1,\"pressure\":1013,\"humidity\":87,\"icon\":\"04d\",\"wind\":13},\"10\":{\"temp\":3,\"pressure\":1015,\"humidity\":84,\"icon\":\"04d\",\"wind\":11},\"13\":{\"temp\":5,\"pressure\":1018,\"humidity\":73,\"icon\":\"04d\",\"wind\":9},\"16\":{\"temp\":4,\"pressure\":1019,\"humidity\":78,\"icon\":\"04d\",\"wind\":6},\"19\":{\"temp\":2,\"pressure\":1022,\"humidity\":83,\"icon\":\"04n\",\"wind\":5},\"22\":{\"temp\":0,\"pressure\":1022,\"humidity\":85,\"icon\":\"04n\",\"wind\":4}},\"2024-04-20\":{\"01\":{\"temp\":-0,\"pressure\":1023,\"humidity\":82,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":-1,\"pressure\":1023,\"humidity\":80,\"icon\":\"01d\",\"wind\":3},\"07\":{\"temp\":3,\"pressure\":1023,\"humidity\":68,\"icon\":\"01d\",\"wind\":3},\"10\":{\"temp\":5,\"pressure\":1022,\"humidity\":63,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":5,\"pressure\":1021,\"humidity\":65,\"icon\":\"03d\",\"wind\":6},\"16\":{\"temp\":3,\"pressure\":1020,\"humidity\":77,\"icon\":\"04d\",\"wind\":6},\"19\":{\"temp\":1,\"pressure\":1020,\"humidity\":90,\"icon\":\"04n\",\"wind\":6},\"22\":{\"temp\":2,\"pressure\":1017,\"humidity\":90,\"icon\":\"04n\",\"wind\":7}}}}' WHERE id = 15786 LIMIT 1
0SELECT * FROM `region` WHERE id = 172 LIMIT 1
1SELECT * FROM `category` WHERE url = 'church' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15786 AND category_id = 120 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15786 AND category_id = 120
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15786 AND category_item.category_id = 120 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('172') LIMIT 1
1SELECT * FROM `locality` WHERE id IN ('15786') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('71899','63549','71926')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('71899','63549','71926')
0SELECT * FROM `category` WHERE id IN ('96','120','121') LIMIT 3
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15786 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','99','102','103','107','115','119','120','121','133') ORDER BY name
0SELECT * FROM counts where updated="2024-04-19" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-19" and table_name like 'news'
1SELECT * 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') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15021') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('446746','446747','446748','446750')
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