Which of the following is a valid SQL statement for adding a new row of data to a SQL database table?

A. INSERT INTO users (firstname, lastname) values (‘George’, ‘Washington’);
B. INSERT (‘George’, ‘Washington’) INTO users (firstname, lastname);
C. ALTER TABLE users SET firstname = ‘George’, lastname = ‘Washington’;
D. UPDATE users SET firstname = ‘George’, lastname = ‘Washington’;

Answer: A

Computer Science & Information Technology

You might also like to view...

MAC is the acronym for multimedia access controller. True or False?

Indicate whether the statement is true or false

Computer Science & Information Technology

If a function does not have a prototype, default arguments may be specified in the __________.

a. function call b. function header c. execution d. return type e. None of these

Computer Science & Information Technology