0SELECT * FROM `locality` WHERE url = 'shediac-nb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-18\",\"data\":{\"2024-04-17\":{\"22\":{\"temp\":4,\"pressure\":1021,\"humidity\":88,\"icon\":\"04n\",\"wind\":4}},\"2024-04-18\":{\"01\":{\"temp\":3,\"pressure\":1022,\"humidity\":91,\"icon\":\"10n\",\"wind\":5},\"04\":{\"temp\":3,\"pressure\":1023,\"humidity\":90,\"icon\":\"04n\",\"wind\":5},\"07\":{\"temp\":3,\"pressure\":1024,\"humidity\":86,\"icon\":\"04d\",\"wind\":4},\"10\":{\"temp\":5,\"pressure\":1024,\"humidity\":71,\"icon\":\"04d\",\"wind\":5},\"13\":{\"temp\":5,\"pressure\":1024,\"humidity\":63,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":4,\"pressure\":1024,\"humidity\":63,\"icon\":\"01d\",\"wind\":4},\"19\":{\"temp\":1,\"pressure\":1025,\"humidity\":79,\"icon\":\"03n\",\"wind\":2},\"22\":{\"temp\":0,\"pressure\":1024,\"humidity\":74,\"icon\":\"04n\",\"wind\":2}},\"2024-04-19\":{\"01\":{\"temp\":0,\"pressure\":1023,\"humidity\":73,\"icon\":\"04n\",\"wind\":2},\"04\":{\"temp\":-0,\"pressure\":1023,\"humidity\":76,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":4,\"pressure\":1024,\"humidity\":61,\"icon\":\"04d\",\"wind\":3},\"10\":{\"temp\":7,\"pressure\":1023,\"humidity\":52,\"icon\":\"04d\",\"wind\":3},\"13\":{\"temp\":9,\"pressure\":1021,\"humidity\":45,\"icon\":\"04d\",\"wind\":3},\"16\":{\"temp\":8,\"pressure\":1020,\"humidity\":50,\"icon\":\"02d\",\"wind\":3},\"19\":{\"temp\":3,\"pressure\":1019,\"humidity\":64,\"icon\":\"03n\",\"wind\":3},\"22\":{\"temp\":3,\"pressure\":1017,\"humidity\":74,\"icon\":\"04n\",\"wind\":3}}}}' WHERE id = 15641 LIMIT 1
0SELECT * FROM `region` WHERE id = 171 LIMIT 1
0SELECT * FROM `category` WHERE url = 'liquor-store' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15641 AND category_id = 114 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15641 AND category_id = 114
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15641 AND category_item.category_id = 114 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('171') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15641') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('97013')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('97013')
0SELECT * FROM `category` WHERE id IN ('96','114') LIMIT 2
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15641 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','99','100','101','102','103','104','106','107','108','110','111','112','114','115','117','118','120','121','122','123','124','126','127','128','129','130','131','132','133','135','136','137','138','139','141','143','144','148','150','151','152','154','155','157','158','159','162','166','168','169','171','172','173','175') ORDER BY name
0SELECT * FROM counts where updated="2024-04-18" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-18" 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 ('168') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14598','14350','14639','14640') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('222393','222394','222398','222399')
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