0SELECT * FROM `locality` WHERE url = 'southampton-ns' LIMIT 1
2UPDATE locality SET weather = '{\"date\":\"2024-04-26\",\"data\":{\"2024-04-26\":{\"01\":{\"temp\":1,\"pressure\":1027,\"humidity\":55,\"icon\":\"01n\",\"wind\":1},\"04\":{\"temp\":-0,\"pressure\":1028,\"humidity\":60,\"icon\":\"02n\",\"wind\":1},\"07\":{\"temp\":3,\"pressure\":1030,\"humidity\":46,\"icon\":\"02d\",\"wind\":3},\"10\":{\"temp\":7,\"pressure\":1030,\"humidity\":29,\"icon\":\"03d\",\"wind\":4},\"13\":{\"temp\":9,\"pressure\":1029,\"humidity\":26,\"icon\":\"04d\",\"wind\":4},\"16\":{\"temp\":7,\"pressure\":1029,\"humidity\":33,\"icon\":\"04d\",\"wind\":2},\"19\":{\"temp\":0,\"pressure\":1031,\"humidity\":64,\"icon\":\"04n\",\"wind\":3},\"22\":{\"temp\":-1,\"pressure\":1032,\"humidity\":72,\"icon\":\"04n\",\"wind\":1}},\"2024-04-27\":{\"01\":{\"temp\":-2,\"pressure\":1032,\"humidity\":75,\"icon\":\"04n\",\"wind\":1},\"04\":{\"temp\":-3,\"pressure\":1033,\"humidity\":84,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":3,\"pressure\":1034,\"humidity\":57,\"icon\":\"01d\",\"wind\":3},\"10\":{\"temp\":7,\"pressure\":1033,\"humidity\":35,\"icon\":\"01d\",\"wind\":4},\"13\":{\"temp\":9,\"pressure\":1031,\"humidity\":32,\"icon\":\"01d\",\"wind\":5},\"16\":{\"temp\":7,\"pressure\":1030,\"humidity\":39,\"icon\":\"01d\",\"wind\":4},\"19\":{\"temp\":-1,\"pressure\":1031,\"humidity\":69,\"icon\":\"01n\",\"wind\":2},\"22\":{\"temp\":-3,\"pressure\":1031,\"humidity\":86,\"icon\":\"01n\",\"wind\":1}},\"2024-04-28\":{\"01\":{\"temp\":-4,\"pressure\":1029,\"humidity\":84,\"icon\":\"01n\",\"wind\":2},\"04\":{\"temp\":-4,\"pressure\":1028,\"humidity\":83,\"icon\":\"02n\",\"wind\":1},\"07\":{\"temp\":4,\"pressure\":1027,\"humidity\":38,\"icon\":\"03d\",\"wind\":2},\"10\":{\"temp\":12,\"pressure\":1023,\"humidity\":21,\"icon\":\"04d\",\"wind\":2},\"13\":{\"temp\":14,\"pressure\":1020,\"humidity\":22,\"icon\":\"04d\",\"wind\":2},\"16\":{\"temp\":12,\"pressure\":1018,\"humidity\":30,\"icon\":\"04d\",\"wind\":2},\"19\":{\"temp\":3,\"pressure\":1019,\"humidity\":64,\"icon\":\"04n\",\"wind\":1},\"22\":{\"temp\":1,\"pressure\":1017,\"humidity\":67,\"icon\":\"02n\",\"wind\":1}}}}' WHERE id = 16318 LIMIT 1
0SELECT * FROM `region` WHERE id = 174 LIMIT 1
0SELECT * FROM `category` WHERE url = 'finance' LIMIT 1
3SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 16318 AND category_id = 97 GROUP BY locality_id, category_id, price_level
2SELECT COUNT(*) FROM `category_item` WHERE locality_id = 16318 AND category_id = 97
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 16318 AND category_item.category_id = 97 ORDER BY item.name LIMIT 0,24
2SELECT * FROM `region` WHERE id IN ('174') LIMIT 1
1SELECT * FROM `locality` WHERE id IN ('16318') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('36543','36861')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('36543','36861')
0SELECT * FROM `category` WHERE id IN ('96','97','98') LIMIT 3
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 16318 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','120','121','125','133','148') ORDER BY name
0SELECT * FROM counts where updated="2024-04-26" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-26" 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 ('176') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('16772','16527','16462') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('303859','303860','303861','303862')
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