1SELECT * FROM `locality` WHERE url = 'madden-ab' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-24\",\"data\":{\"2024-04-24\":{\"01\":{\"temp\":9,\"pressure\":1008,\"humidity\":41,\"icon\":\"04n\",\"wind\":3},\"04\":{\"temp\":7,\"pressure\":1008,\"humidity\":49,\"icon\":\"04n\",\"wind\":3},\"07\":{\"temp\":4,\"pressure\":1007,\"humidity\":59,\"icon\":\"04n\",\"wind\":3},\"10\":{\"temp\":8,\"pressure\":1006,\"humidity\":50,\"icon\":\"04d\",\"wind\":2},\"13\":{\"temp\":12,\"pressure\":1004,\"humidity\":37,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":13,\"pressure\":1002,\"humidity\":34,\"icon\":\"04d\",\"wind\":3},\"19\":{\"temp\":15,\"pressure\":1000,\"humidity\":29,\"icon\":\"04d\",\"wind\":3},\"22\":{\"temp\":9,\"pressure\":1001,\"humidity\":49,\"icon\":\"04n\",\"wind\":3}},\"2024-04-25\":{\"01\":{\"temp\":6,\"pressure\":1004,\"humidity\":65,\"icon\":\"03n\",\"wind\":5},\"04\":{\"temp\":3,\"pressure\":1006,\"humidity\":84,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":3,\"pressure\":1005,\"humidity\":83,\"icon\":\"04n\",\"wind\":1},\"10\":{\"temp\":6,\"pressure\":1003,\"humidity\":67,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":10,\"pressure\":1001,\"humidity\":51,\"icon\":\"04d\",\"wind\":3},\"16\":{\"temp\":12,\"pressure\":1000,\"humidity\":47,\"icon\":\"10d\",\"wind\":3},\"19\":{\"temp\":7,\"pressure\":1004,\"humidity\":76,\"icon\":\"10d\",\"wind\":6},\"22\":{\"temp\":3,\"pressure\":1007,\"humidity\":96,\"icon\":\"10n\",\"wind\":5}},\"2024-04-26\":{\"01\":{\"temp\":3,\"pressure\":1008,\"humidity\":86,\"icon\":\"10n\",\"wind\":4},\"04\":{\"temp\":3,\"pressure\":1010,\"humidity\":81,\"icon\":\"13n\",\"wind\":5},\"07\":{\"temp\":1,\"pressure\":1013,\"humidity\":84,\"icon\":\"04n\",\"wind\":5},\"10\":{\"temp\":1,\"pressure\":1015,\"humidity\":81,\"icon\":\"04d\",\"wind\":5},\"13\":{\"temp\":3,\"pressure\":1015,\"humidity\":75,\"icon\":\"13d\",\"wind\":4},\"16\":{\"temp\":5,\"pressure\":1013,\"humidity\":61,\"icon\":\"13d\",\"wind\":4},\"19\":{\"temp\":6,\"pressure\":1012,\"humidity\":54,\"icon\":\"04d\",\"wind\":4},\"22\":{\"temp\":4,\"pressure\":1014,\"humidity\":63,\"icon\":\"04n\",\"wind\":3}}}}' WHERE id = 14476 LIMIT 1
0SELECT * FROM `region` WHERE id = 168 LIMIT 1
0SELECT * FROM `category` WHERE url = 'food' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 14476 AND category_id = 99 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14476 AND category_id = 99
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14476 AND category_item.category_id = 99 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('168') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14476') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('208740','220255','220236','220261','220227','220298','220239')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('208740','220255','220236','220261','220227','220298','220239')
0SELECT * FROM `category` WHERE id IN ('96','99','102') LIMIT 3
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14476 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','99','100','102','103','106','107','108','117','118','128','134','137','164') ORDER BY name
0SELECT * FROM counts where updated="2024-04-24" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-24" and table_name like 'news'
1SELECT * FROM `category` ORDER BY name
3SELECT * 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 ('179','172') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('18897','15863') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('142899','142900','142901','142902')
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 ('168') LIMIT 1