0SELECT * FROM `locality` WHERE url = 'havre-boucher-ns' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-25\",\"data\":{\"2024-04-25\":{\"01\":{\"temp\":4,\"pressure\":1007,\"humidity\":93,\"icon\":\"10n\",\"wind\":5},\"04\":{\"temp\":2,\"pressure\":1010,\"humidity\":87,\"icon\":\"13n\",\"wind\":11},\"07\":{\"temp\":-0,\"pressure\":1015,\"humidity\":59,\"icon\":\"04d\",\"wind\":10},\"10\":{\"temp\":2,\"pressure\":1017,\"humidity\":51,\"icon\":\"03d\",\"wind\":11},\"13\":{\"temp\":4,\"pressure\":1019,\"humidity\":49,\"icon\":\"02d\",\"wind\":10},\"16\":{\"temp\":4,\"pressure\":1021,\"humidity\":51,\"icon\":\"01d\",\"wind\":8},\"19\":{\"temp\":2,\"pressure\":1024,\"humidity\":66,\"icon\":\"01n\",\"wind\":5},\"22\":{\"temp\":2,\"pressure\":1026,\"humidity\":73,\"icon\":\"01n\",\"wind\":5}},\"2024-04-26\":{\"01\":{\"temp\":1,\"pressure\":1026,\"humidity\":72,\"icon\":\"01n\",\"wind\":6},\"04\":{\"temp\":1,\"pressure\":1028,\"humidity\":73,\"icon\":\"01n\",\"wind\":4},\"07\":{\"temp\":3,\"pressure\":1030,\"humidity\":61,\"icon\":\"01d\",\"wind\":5},\"10\":{\"temp\":4,\"pressure\":1030,\"humidity\":52,\"icon\":\"02d\",\"wind\":5},\"13\":{\"temp\":4,\"pressure\":1030,\"humidity\":50,\"icon\":\"02d\",\"wind\":7},\"16\":{\"temp\":3,\"pressure\":1030,\"humidity\":67,\"icon\":\"01d\",\"wind\":6},\"19\":{\"temp\":1,\"pressure\":1032,\"humidity\":71,\"icon\":\"02n\",\"wind\":2},\"22\":{\"temp\":0,\"pressure\":1032,\"humidity\":71,\"icon\":\"01n\",\"wind\":2}},\"2024-04-27\":{\"01\":{\"temp\":-0,\"pressure\":1031,\"humidity\":73,\"icon\":\"01n\",\"wind\":3},\"04\":{\"temp\":-1,\"pressure\":1031,\"humidity\":69,\"icon\":\"01d\",\"wind\":3},\"07\":{\"temp\":2,\"pressure\":1032,\"humidity\":60,\"icon\":\"01d\",\"wind\":5},\"10\":{\"temp\":3,\"pressure\":1032,\"humidity\":58,\"icon\":\"02d\",\"wind\":7},\"13\":{\"temp\":3,\"pressure\":1030,\"humidity\":64,\"icon\":\"03d\",\"wind\":8},\"16\":{\"temp\":3,\"pressure\":1030,\"humidity\":67,\"icon\":\"01d\",\"wind\":8},\"19\":{\"temp\":0,\"pressure\":1030,\"humidity\":78,\"icon\":\"01n\",\"wind\":4},\"22\":{\"temp\":-0,\"pressure\":1029,\"humidity\":80,\"icon\":\"01n\",\"wind\":4}}}}' WHERE id = 16127 LIMIT 1
0SELECT * FROM `region` WHERE id = 174 LIMIT 1
0SELECT * FROM `category` WHERE url = 'beauty-salon' LIMIT 1
1SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 16127 AND category_id = 130 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 16127 AND category_id = 130
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 16127 AND category_item.category_id = 130 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('174') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('16127') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('63597','63545')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('63597','63545')
0SELECT * FROM `category` WHERE id IN ('96','130','131') LIMIT 3
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 16127 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','102','106','107','108','115','120','121','126','127','130','131','152','164') ORDER BY name
0SELECT * FROM counts where updated="2024-04-25" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-25" 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 ('180','173','178') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('18933','15969','17922') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('283324','283325','283326','283327')
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