insert value into table code example
Example 1: sql insert to values
INSERT INTO name (...)
VALUES (...)
Used alongside the INSERT INTO keyword to add new values to a table.
Example: Adds a new car to the cars table.
INSERT INTO cars (name, model, year)
VALUES ('Ford', 'Fiesta', 2010);
Example 2: sql insert data
INSERT INTO users (first_name, last_name, address, email)
VALUES (‘Tester’, ‘Jester’, ‘123 Fake Street, Sheffield, United
Kingdom’, ‘[email protected]’);