1SELECT * FROM `locality` WHERE url = 'lanse-au-clair-nl' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-16\",\"data\":{\"2024-04-16\":{\"01\":{\"temp\":2,\"pressure\":1013,\"humidity\":87,\"icon\":\"10n\",\"wind\":5},\"04\":{\"temp\":1,\"pressure\":1012,\"humidity\":91,\"icon\":\"10d\",\"wind\":2},\"07\":{\"temp\":2,\"pressure\":1012,\"humidity\":92,\"icon\":\"04d\",\"wind\":2},\"10\":{\"temp\":3,\"pressure\":1013,\"humidity\":90,\"icon\":\"04d\",\"wind\":4},\"13\":{\"temp\":2,\"pressure\":1014,\"humidity\":95,\"icon\":\"04d\",\"wind\":3},\"16\":{\"temp\":2,\"pressure\":1014,\"humidity\":95,\"icon\":\"04d\",\"wind\":1},\"19\":{\"temp\":2,\"pressure\":1014,\"humidity\":94,\"icon\":\"04n\",\"wind\":1},\"22\":{\"temp\":1,\"pressure\":1013,\"humidity\":94,\"icon\":\"03n\",\"wind\":0}},\"2024-04-17\":{\"01\":{\"temp\":1,\"pressure\":1013,\"humidity\":90,\"icon\":\"03n\",\"wind\":1},\"04\":{\"temp\":2,\"pressure\":1013,\"humidity\":89,\"icon\":\"04d\",\"wind\":3},\"07\":{\"temp\":1,\"pressure\":1014,\"humidity\":95,\"icon\":\"04d\",\"wind\":4},\"10\":{\"temp\":3,\"pressure\":1015,\"humidity\":73,\"icon\":\"04d\",\"wind\":7},\"13\":{\"temp\":4,\"pressure\":1016,\"humidity\":67,\"icon\":\"04d\",\"wind\":8},\"16\":{\"temp\":3,\"pressure\":1017,\"humidity\":71,\"icon\":\"04d\",\"wind\":9},\"19\":{\"temp\":2,\"pressure\":1019,\"humidity\":72,\"icon\":\"04n\",\"wind\":10},\"22\":{\"temp\":0,\"pressure\":1019,\"humidity\":73,\"icon\":\"04n\",\"wind\":9}},\"2024-04-18\":{\"01\":{\"temp\":-1,\"pressure\":1018,\"humidity\":62,\"icon\":\"04n\",\"wind\":10},\"04\":{\"temp\":-2,\"pressure\":1018,\"humidity\":64,\"icon\":\"04d\",\"wind\":11},\"07\":{\"temp\":-0,\"pressure\":1018,\"humidity\":61,\"icon\":\"04d\",\"wind\":11},\"10\":{\"temp\":3,\"pressure\":1017,\"humidity\":54,\"icon\":\"04d\",\"wind\":12},\"13\":{\"temp\":4,\"pressure\":1015,\"humidity\":53,\"icon\":\"04d\",\"wind\":14},\"16\":{\"temp\":3,\"pressure\":1015,\"humidity\":61,\"icon\":\"04d\",\"wind\":15},\"19\":{\"temp\":1,\"pressure\":1016,\"humidity\":70,\"icon\":\"13n\",\"wind\":14},\"22\":{\"temp\":0,\"pressure\":1016,\"humidity\":71,\"icon\":\"04n\",\"wind\":12}}}}' WHERE id = 15824 LIMIT 1
0SELECT * FROM `region` WHERE id = 172 LIMIT 1
0SELECT * FROM `category` WHERE url = 'hardware-store' LIMIT 1
3SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 15824 AND category_id = 136 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 15824 AND category_id = 136
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 15824 AND category_item.category_id = 136 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('172') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('15824') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('213607','213610')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('213607','213610')
0SELECT * FROM `category` WHERE id IN ('96','136') LIMIT 2
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 15824 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','102','107','124','128','133','136','154','158') 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'
0SELECT * FROM `category` ORDER BY name
4SELECT * 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 ('176','174') LIMIT 2
0SELECT * FROM `locality` WHERE id IN ('16849','16007') LIMIT 2
0SELECT * FROM `photos` WHERE `item_id` IN ('4691','4692','4693','4694')
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