0SELECT * FROM `locality` WHERE url = 'macdonald-mb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-20\",\"data\":{\"2024-04-20\":{\"07\":{\"temp\":-4,\"pressure\":1026,\"humidity\":77,\"icon\":\"03d\",\"wind\":5},\"10\":{\"temp\":-2,\"pressure\":1026,\"humidity\":72,\"icon\":\"04d\",\"wind\":6},\"13\":{\"temp\":3,\"pressure\":1024,\"humidity\":58,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":9,\"pressure\":1022,\"humidity\":42,\"icon\":\"03d\",\"wind\":6},\"19\":{\"temp\":8,\"pressure\":1021,\"humidity\":49,\"icon\":\"03d\",\"wind\":5},\"22\":{\"temp\":4,\"pressure\":1021,\"humidity\":64,\"icon\":\"02n\",\"wind\":6}},\"2024-04-21\":{\"01\":{\"temp\":2,\"pressure\":1021,\"humidity\":74,\"icon\":\"02n\",\"wind\":5},\"04\":{\"temp\":1,\"pressure\":1021,\"humidity\":79,\"icon\":\"01n\",\"wind\":4},\"07\":{\"temp\":1,\"pressure\":1021,\"humidity\":77,\"icon\":\"01d\",\"wind\":4},\"10\":{\"temp\":6,\"pressure\":1019,\"humidity\":52,\"icon\":\"01d\",\"wind\":4},\"13\":{\"temp\":10,\"pressure\":1017,\"humidity\":40,\"icon\":\"01d\",\"wind\":2},\"16\":{\"temp\":11,\"pressure\":1015,\"humidity\":34,\"icon\":\"01d\",\"wind\":3},\"19\":{\"temp\":12,\"pressure\":1012,\"humidity\":36,\"icon\":\"02d\",\"wind\":2},\"22\":{\"temp\":8,\"pressure\":1010,\"humidity\":48,\"icon\":\"01n\",\"wind\":3}},\"2024-04-22\":{\"01\":{\"temp\":7,\"pressure\":1007,\"humidity\":52,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":7,\"pressure\":1004,\"humidity\":57,\"icon\":\"04n\",\"wind\":4},\"07\":{\"temp\":7,\"pressure\":1002,\"humidity\":64,\"icon\":\"04d\",\"wind\":3},\"10\":{\"temp\":7,\"pressure\":1001,\"humidity\":83,\"icon\":\"10d\",\"wind\":2},\"13\":{\"temp\":12,\"pressure\":1000,\"humidity\":57,\"icon\":\"10d\",\"wind\":1},\"16\":{\"temp\":12,\"pressure\":999,\"humidity\":54,\"icon\":\"10d\",\"wind\":4},\"19\":{\"temp\":10,\"pressure\":1000,\"humidity\":69,\"icon\":\"10d\",\"wind\":3},\"22\":{\"temp\":6,\"pressure\":1004,\"humidity\":87,\"icon\":\"10n\",\"wind\":8}}}}' WHERE id = 15205 LIMIT 1
0SELECT * FROM `region` WHERE id = 170 LIMIT 1
0SELECT * FROM `category` WHERE url = 'food' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15205 AND category_id = 99 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15205 AND category_id = 99
4SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15205 AND category_item.category_id = 99 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('170') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15205') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('192870','161364','192925','156176','450239','460263')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('192870','161364','192925','156176','450239','460263')
0SELECT * FROM `category` WHERE id IN ('96','99','102') LIMIT 3
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15205 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','99','102','112','113','120','121','128','154') ORDER BY name
0SELECT * FROM counts where updated="2024-04-20" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-20" 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 ('171','176','174') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('15603','16671','16381') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('32612','32614','32615','32616')
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