1SELECT * FROM `locality` WHERE url = 'new-maryland-nb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-27\",\"data\":{\"2024-04-27\":{\"01\":{\"temp\":-1,\"pressure\":1032,\"humidity\":66,\"icon\":\"01n\",\"wind\":1},\"04\":{\"temp\":-2,\"pressure\":1032,\"humidity\":69,\"icon\":\"01n\",\"wind\":0},\"07\":{\"temp\":2,\"pressure\":1033,\"humidity\":53,\"icon\":\"01d\",\"wind\":0},\"10\":{\"temp\":11,\"pressure\":1032,\"humidity\":39,\"icon\":\"01d\",\"wind\":2},\"13\":{\"temp\":14,\"pressure\":1029,\"humidity\":36,\"icon\":\"01d\",\"wind\":2},\"16\":{\"temp\":14,\"pressure\":1027,\"humidity\":38,\"icon\":\"03d\",\"wind\":1},\"19\":{\"temp\":6,\"pressure\":1028,\"humidity\":70,\"icon\":\"04n\",\"wind\":2},\"22\":{\"temp\":3,\"pressure\":1028,\"humidity\":80,\"icon\":\"04n\",\"wind\":1}},\"2024-04-28\":{\"01\":{\"temp\":2,\"pressure\":1026,\"humidity\":84,\"icon\":\"04n\",\"wind\":1},\"04\":{\"temp\":2,\"pressure\":1025,\"humidity\":83,\"icon\":\"04n\",\"wind\":1},\"07\":{\"temp\":6,\"pressure\":1024,\"humidity\":67,\"icon\":\"04d\",\"wind\":2},\"10\":{\"temp\":12,\"pressure\":1020,\"humidity\":46,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":16,\"pressure\":1017,\"humidity\":39,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":15,\"pressure\":1014,\"humidity\":53,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":9,\"pressure\":1014,\"humidity\":74,\"icon\":\"04n\",\"wind\":3},\"22\":{\"temp\":8,\"pressure\":1012,\"humidity\":82,\"icon\":\"04n\",\"wind\":2}},\"2024-04-29\":{\"01\":{\"temp\":8,\"pressure\":1011,\"humidity\":92,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":9,\"pressure\":1011,\"humidity\":84,\"icon\":\"04n\",\"wind\":5},\"07\":{\"temp\":7,\"pressure\":1014,\"humidity\":74,\"icon\":\"04d\",\"wind\":6},\"10\":{\"temp\":10,\"pressure\":1015,\"humidity\":57,\"icon\":\"04d\",\"wind\":6},\"13\":{\"temp\":13,\"pressure\":1015,\"humidity\":47,\"icon\":\"04d\",\"wind\":6},\"16\":{\"temp\":12,\"pressure\":1015,\"humidity\":44,\"icon\":\"02d\",\"wind\":6},\"19\":{\"temp\":7,\"pressure\":1018,\"humidity\":58,\"icon\":\"02n\",\"wind\":5},\"22\":{\"temp\":2,\"pressure\":1018,\"humidity\":55,\"icon\":\"01n\",\"wind\":5}}}}' WHERE id = 15547 LIMIT 1
0SELECT * FROM `region` WHERE id = 171 LIMIT 1
0SELECT * FROM `category` WHERE url = 'place-of-worship' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15547 AND category_id = 121 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15547 AND category_id = 121
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15547 AND category_item.category_id = 121 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('171') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15547') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('132070','131843','131995')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('132070','131843','131995')
0SELECT * FROM `category` WHERE id IN ('96','120','121') LIMIT 3
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15547 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','99','100','103','104','107','110','115','117','118','120','121','123','132','133','137','143','144','159','161','164','168') ORDER BY name
0SELECT * FROM counts where updated="2024-04-27" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-27" 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 ('176','178') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('16416','17877','17316') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('20764','20766','20767','20769')
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