Running SQL Queries to Create and Manipulate Data
What this topic covers
Use SQL to add new records with INSERT, read selected columns with SELECT, and change or remove existing data. Apply conditions with AND to return only rows that match every required filter.
Why does INSERT fit when a new supplier is first observed?
INSERT adds a new row to an existing table, so it is the right statement for a supplier not yet recorded. UPDATE changes values in rows that already exist, and SELECT only reads rows without changing them. The target table must already exist before you run INSERT.