1SELECT * FROM `locality` WHERE url = 'oak-bay-nb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-19\":{\"01\":{\"temp\":3,\"pressure\":1023,\"humidity\":85,\"icon\":\"04n\",\"wind\":1},\"04\":{\"temp\":1,\"pressure\":1024,\"humidity\":89,\"icon\":\"04n\",\"wind\":1},\"07\":{\"temp\":5,\"pressure\":1025,\"humidity\":61,\"icon\":\"04d\",\"wind\":1},\"10\":{\"temp\":10,\"pressure\":1023,\"humidity\":43,\"icon\":\"01d\",\"wind\":2},\"13\":{\"temp\":13,\"pressure\":1020,\"humidity\":37,\"icon\":\"01d\",\"wind\":3},\"16\":{\"temp\":9,\"pressure\":1019,\"humidity\":43,\"icon\":\"04d\",\"wind\":4},\"19\":{\"temp\":3,\"pressure\":1019,\"humidity\":68,\"icon\":\"04n\",\"wind\":2},\"22\":{\"temp\":3,\"pressure\":1018,\"humidity\":75,\"icon\":\"04n\",\"wind\":3}},\"2024-04-20\":{\"01\":{\"temp\":3,\"pressure\":1016,\"humidity\":72,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":4,\"pressure\":1015,\"humidity\":76,\"icon\":\"04n\",\"wind\":4},\"07\":{\"temp\":4,\"pressure\":1013,\"humidity\":88,\"icon\":\"10d\",\"wind\":4},\"10\":{\"temp\":5,\"pressure\":1012,\"humidity\":96,\"icon\":\"10d\",\"wind\":3},\"13\":{\"temp\":5,\"pressure\":1010,\"humidity\":98,\"icon\":\"10d\",\"wind\":3},\"16\":{\"temp\":6,\"pressure\":1007,\"humidity\":97,\"icon\":\"04d\",\"wind\":2},\"19\":{\"temp\":5,\"pressure\":1007,\"humidity\":98,\"icon\":\"10n\",\"wind\":0},\"22\":{\"temp\":4,\"pressure\":1007,\"humidity\":96,\"icon\":\"10n\",\"wind\":2}},\"2024-04-21\":{\"01\":{\"temp\":2,\"pressure\":1007,\"humidity\":95,\"icon\":\"04n\",\"wind\":3},\"04\":{\"temp\":0,\"pressure\":1008,\"humidity\":93,\"icon\":\"01n\",\"wind\":3},\"07\":{\"temp\":4,\"pressure\":1009,\"humidity\":81,\"icon\":\"01d\",\"wind\":3},\"10\":{\"temp\":10,\"pressure\":1009,\"humidity\":50,\"icon\":\"01d\",\"wind\":4},\"13\":{\"temp\":11,\"pressure\":1007,\"humidity\":42,\"icon\":\"03d\",\"wind\":6},\"16\":{\"temp\":11,\"pressure\":1007,\"humidity\":49,\"icon\":\"10d\",\"wind\":4},\"19\":{\"temp\":4,\"pressure\":1008,\"humidity\":74,\"icon\":\"04n\",\"wind\":2},\"22\":{\"temp\":2,\"pressure\":1008,\"humidity\":84,\"icon\":\"02n\",\"wind\":2}}}}' WHERE id = 15554 LIMIT 1
0SELECT * FROM `region` WHERE id = 171 LIMIT 1
0SELECT * FROM `category` WHERE url = 'gas-station' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15554 AND category_id = 110 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15554 AND category_id = 110
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15554 AND category_item.category_id = 110 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('171') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15554') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('167236','307132')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('167236','307132')
0SELECT * FROM `category` WHERE id IN ('96','110','99','158') LIMIT 4
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15554 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','99','100','101','103','106','107','108','110','111','118','124','125','128','134','158') ORDER BY name
1SELECT * 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 ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('16833','16673') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('289944','289945','289946','289947')
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 ('176') LIMIT 1