Create a clean table products with id INTEGER PRIMARY KEY, name VARCHAR NOT NULL and price INTEGER CHECK (price >= 0). Then copy only the rows from `raw_products` that satisfy these rules. If an id appears more than once, keep the row with the lower price.
Run your code to see the output here.