VALORI SQL Parola chiave
❮ Riferimento alle parole chiave SQL
I VALORI
Il VALUES
comando specifica i valori di un'istruzione INSERT INTO.
Il seguente SQL inserisce un nuovo record nella tabella "Clienti":
Esempio
INSERT INTO Customers (CustomerName, ContactName, Address, City, PostalCode, Country)
VALUES ('Cardinal', 'Tom B. Erichsen', 'Skagen 21', 'Stavanger', '4006', 'Norway');
Il seguente SQL inserirà un nuovo record, ma inserirà solo i dati nelle colonne "CustomerName", "City" e "Country" (CustomerID verrà aggiornato automaticamente):
Esempio
INSERT INTO Customers (CustomerName, City, Country)
VALUES ('Cardinal', 'Stavanger', 'Norway');
❮ Riferimento alle parole chiave SQL