0SELECT * FROM `locality` WHERE url = 'saint-isidore-nb' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-20\",\"data\":{\"2024-04-20\":{\"01\":{\"temp\":3,\"pressure\":1013,\"humidity\":68,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":4,\"pressure\":1012,\"humidity\":70,\"icon\":\"10n\",\"wind\":6},\"07\":{\"temp\":5,\"pressure\":1012,\"humidity\":70,\"icon\":\"04d\",\"wind\":6},\"10\":{\"temp\":7,\"pressure\":1010,\"humidity\":81,\"icon\":\"10d\",\"wind\":5},\"13\":{\"temp\":7,\"pressure\":1008,\"humidity\":89,\"icon\":\"10d\",\"wind\":5},\"16\":{\"temp\":6,\"pressure\":1007,\"humidity\":94,\"icon\":\"10d\",\"wind\":3},\"19\":{\"temp\":5,\"pressure\":1006,\"humidity\":99,\"icon\":\"10n\",\"wind\":2},\"22\":{\"temp\":5,\"pressure\":1004,\"humidity\":99,\"icon\":\"10n\",\"wind\":2}},\"2024-04-21\":{\"01\":{\"temp\":4,\"pressure\":1003,\"humidity\":90,\"icon\":\"04n\",\"wind\":3},\"04\":{\"temp\":1,\"pressure\":1004,\"humidity\":85,\"icon\":\"03n\",\"wind\":3},\"07\":{\"temp\":6,\"pressure\":1006,\"humidity\":67,\"icon\":\"02d\",\"wind\":4},\"10\":{\"temp\":10,\"pressure\":1006,\"humidity\":44,\"icon\":\"01d\",\"wind\":4},\"13\":{\"temp\":11,\"pressure\":1004,\"humidity\":38,\"icon\":\"04d\",\"wind\":5},\"16\":{\"temp\":10,\"pressure\":1005,\"humidity\":53,\"icon\":\"10d\",\"wind\":4},\"19\":{\"temp\":5,\"pressure\":1005,\"humidity\":72,\"icon\":\"10n\",\"wind\":2},\"22\":{\"temp\":3,\"pressure\":1004,\"humidity\":78,\"icon\":\"04n\",\"wind\":3}},\"2024-04-22\":{\"01\":{\"temp\":3,\"pressure\":1002,\"humidity\":78,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":2,\"pressure\":1001,\"humidity\":78,\"icon\":\"04n\",\"wind\":5},\"07\":{\"temp\":-1,\"pressure\":1006,\"humidity\":57,\"icon\":\"13d\",\"wind\":8},\"10\":{\"temp\":1,\"pressure\":1009,\"humidity\":32,\"icon\":\"01d\",\"wind\":9},\"13\":{\"temp\":2,\"pressure\":1011,\"humidity\":28,\"icon\":\"01d\",\"wind\":9},\"16\":{\"temp\":1,\"pressure\":1013,\"humidity\":33,\"icon\":\"03d\",\"wind\":7},\"19\":{\"temp\":-3,\"pressure\":1016,\"humidity\":49,\"icon\":\"03n\",\"wind\":3},\"22\":{\"temp\":-4,\"pressure\":1018,\"humidity\":52,\"icon\":\"03n\",\"wind\":2}}}}' WHERE id = 15618 LIMIT 1
0SELECT * FROM `region` WHERE id = 171 LIMIT 1
0SELECT * FROM `category` WHERE url = 'gym' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15618 AND category_id = 117 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15618 AND category_id = 117
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15618 AND category_item.category_id = 117 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('171') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15618') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('168682','168683')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('168682','168683')
0SELECT * FROM `category` WHERE id IN ('96','117','118') LIMIT 3
1SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15618 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','103','104','110','115','117','118','120','121','126','127','128','130','131','133','148','155','169','174','175') ORDER BY name
0SELECT * FROM counts where updated="2024-04-20" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-20" 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 ('179') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('18743','18887') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('252968','252969','252971','252972')
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 ('168') LIMIT 1