0SELECT * FROM `locality` WHERE url = 'grand-forks-bc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-16\",\"data\":{\"2024-04-16\":{\"01\":{\"temp\":7,\"pressure\":1013,\"humidity\":47,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":4,\"pressure\":1016,\"humidity\":58,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":0,\"pressure\":1021,\"humidity\":68,\"icon\":\"02n\",\"wind\":2},\"10\":{\"temp\":4,\"pressure\":1021,\"humidity\":52,\"icon\":\"02d\",\"wind\":2},\"13\":{\"temp\":9,\"pressure\":1019,\"humidity\":31,\"icon\":\"03d\",\"wind\":3},\"16\":{\"temp\":10,\"pressure\":1018,\"humidity\":28,\"icon\":\"04d\",\"wind\":5},\"19\":{\"temp\":10,\"pressure\":1017,\"humidity\":26,\"icon\":\"04d\",\"wind\":5},\"22\":{\"temp\":4,\"pressure\":1021,\"humidity\":48,\"icon\":\"03n\",\"wind\":3}},\"2024-04-17\":{\"01\":{\"temp\":1,\"pressure\":1024,\"humidity\":70,\"icon\":\"03n\",\"wind\":2},\"04\":{\"temp\":1,\"pressure\":1025,\"humidity\":75,\"icon\":\"04n\",\"wind\":1},\"07\":{\"temp\":1,\"pressure\":1027,\"humidity\":93,\"icon\":\"13n\",\"wind\":1},\"10\":{\"temp\":3,\"pressure\":1028,\"humidity\":75,\"icon\":\"13d\",\"wind\":1},\"13\":{\"temp\":8,\"pressure\":1027,\"humidity\":53,\"icon\":\"10d\",\"wind\":1},\"16\":{\"temp\":11,\"pressure\":1025,\"humidity\":42,\"icon\":\"10d\",\"wind\":1},\"19\":{\"temp\":11,\"pressure\":1023,\"humidity\":33,\"icon\":\"10d\",\"wind\":3},\"22\":{\"temp\":4,\"pressure\":1026,\"humidity\":70,\"icon\":\"13n\",\"wind\":1}},\"2024-04-18\":{\"01\":{\"temp\":1,\"pressure\":1030,\"humidity\":84,\"icon\":\"03n\",\"wind\":0},\"04\":{\"temp\":-1,\"pressure\":1030,\"humidity\":81,\"icon\":\"01n\",\"wind\":1},\"07\":{\"temp\":-1,\"pressure\":1030,\"humidity\":81,\"icon\":\"01n\",\"wind\":0},\"10\":{\"temp\":4,\"pressure\":1029,\"humidity\":62,\"icon\":\"01d\",\"wind\":1},\"13\":{\"temp\":9,\"pressure\":1026,\"humidity\":50,\"icon\":\"10d\",\"wind\":2},\"16\":{\"temp\":9,\"pressure\":1025,\"humidity\":58,\"icon\":\"10d\",\"wind\":2},\"19\":{\"temp\":9,\"pressure\":1023,\"humidity\":51,\"icon\":\"10d\",\"wind\":1},\"22\":{\"temp\":4,\"pressure\":1025,\"humidity\":81,\"icon\":\"13n\",\"wind\":1}}}}' WHERE id = 14800 LIMIT 1
0SELECT * FROM `region` WHERE id = 169 LIMIT 1
0SELECT * FROM `category` WHERE url = 'hardware-store' LIMIT 1
4SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 14800 AND category_id = 136 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14800 AND category_id = 136
5SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14800 AND category_item.category_id = 136 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('169') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14800') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('133666','133723','133656')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('133666','133723','133656')
0SELECT * FROM `category` WHERE id IN ('96','136','103','128') LIMIT 4
2SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14800 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','106','107','108','109','110','111','112','114','115','116','118','119','120','121','123','124','125','126','127','128','129','130','132','133','134','135','136','137','138','139','140','142','143','144','145','148','149','152','153','155','156','158','159','162','164','165','166','167','168','169','173','178') ORDER BY name
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-16" 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
1SELECT * FROM `region` WHERE id IN ('170','172') LIMIT 2
1SELECT * FROM `locality` WHERE id IN ('15371','15932') LIMIT 2
1SELECT * FROM `photos` WHERE `item_id` IN ('442367','442368','442369','442370')
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
1SELECT * FROM `region` WHERE id IN ('168') LIMIT 1