0SELECT * FROM `locality` WHERE url = 'saint-dominique-qc' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-20\",\"data\":{\"2024-04-20\":{\"01\":{\"temp\":10,\"pressure\":1011,\"humidity\":78,\"icon\":\"10n\",\"wind\":6},\"04\":{\"temp\":8,\"pressure\":1011,\"humidity\":78,\"icon\":\"04n\",\"wind\":6},\"07\":{\"temp\":6,\"pressure\":1012,\"humidity\":65,\"icon\":\"04d\",\"wind\":6},\"10\":{\"temp\":9,\"pressure\":1011,\"humidity\":50,\"icon\":\"04d\",\"wind\":7},\"13\":{\"temp\":8,\"pressure\":1009,\"humidity\":67,\"icon\":\"10d\",\"wind\":7},\"16\":{\"temp\":9,\"pressure\":1008,\"humidity\":54,\"icon\":\"10d\",\"wind\":7},\"19\":{\"temp\":6,\"pressure\":1010,\"humidity\":62,\"icon\":\"10n\",\"wind\":5},\"22\":{\"temp\":4,\"pressure\":1011,\"humidity\":73,\"icon\":\"02n\",\"wind\":5}},\"2024-04-21\":{\"01\":{\"temp\":3,\"pressure\":1011,\"humidity\":78,\"icon\":\"02n\",\"wind\":6},\"04\":{\"temp\":1,\"pressure\":1012,\"humidity\":82,\"icon\":\"01n\",\"wind\":5},\"07\":{\"temp\":3,\"pressure\":1013,\"humidity\":77,\"icon\":\"03d\",\"wind\":6},\"10\":{\"temp\":6,\"pressure\":1011,\"humidity\":61,\"icon\":\"10d\",\"wind\":7},\"13\":{\"temp\":7,\"pressure\":1010,\"humidity\":57,\"icon\":\"10d\",\"wind\":8},\"16\":{\"temp\":8,\"pressure\":1008,\"humidity\":50,\"icon\":\"10d\",\"wind\":8},\"19\":{\"temp\":6,\"pressure\":1007,\"humidity\":66,\"icon\":\"10n\",\"wind\":8},\"22\":{\"temp\":3,\"pressure\":1009,\"humidity\":92,\"icon\":\"10n\",\"wind\":7}},\"2024-04-22\":{\"01\":{\"temp\":1,\"pressure\":1012,\"humidity\":74,\"icon\":\"04n\",\"wind\":4},\"04\":{\"temp\":-2,\"pressure\":1014,\"humidity\":80,\"icon\":\"01n\",\"wind\":4},\"07\":{\"temp\":-1,\"pressure\":1017,\"humidity\":45,\"icon\":\"01d\",\"wind\":6},\"10\":{\"temp\":3,\"pressure\":1017,\"humidity\":40,\"icon\":\"01d\",\"wind\":5},\"13\":{\"temp\":6,\"pressure\":1016,\"humidity\":36,\"icon\":\"01d\",\"wind\":7},\"16\":{\"temp\":7,\"pressure\":1016,\"humidity\":38,\"icon\":\"04d\",\"wind\":8},\"19\":{\"temp\":4,\"pressure\":1015,\"humidity\":58,\"icon\":\"04n\",\"wind\":3},\"22\":{\"temp\":2,\"pressure\":1015,\"humidity\":66,\"icon\":\"04n\",\"wind\":4}}}}' WHERE id = 18056 LIMIT 1
1SELECT * FROM `region` WHERE id = 178 LIMIT 1
0SELECT * FROM `category` WHERE url = 'car-repair' LIMIT 1
2SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 18056 AND category_id = 100 GROUP BY locality_id, category_id, price_level
1SELECT COUNT(*) FROM `category_item` WHERE locality_id = 18056 AND category_id = 100
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 18056 AND category_item.category_id = 100 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('178') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('18056') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('65110','323069','322683','65214')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('65110','323069','322683','65214')
0SELECT * FROM `category` WHERE id IN ('96','100') LIMIT 2
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 18056 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','99','100','103','107','112','127','128','135','154','158') 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'
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 ('178','174') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('17504','18453','16313','18298') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('70445','70446','70447','70449')
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