Introduction to SQL (Part II)

Introduction to SQL (Part II)

Assessment

Flashcard

Computers

University

Hard

Created by

Queenie Villamin

FREE Resource

Student preview

quiz-placeholder

38 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What are the basic data manipulation commands in SQL?

Back

INSERT, SELECT, UPDATE, and DELETE.

2.

FLASHCARD QUESTION

Front

What is the syntax for adding new rows to a table using INSERT?

Back

INSERT INTO table_name (columns) VALUES (values);

3.

FLASHCARD QUESTION

Front

Provide an example of an INSERT command.

Back

INSERT INTO Students (LastName, Section) VALUES ('Reyes', 'IT102');

4.

FLASHCARD QUESTION

Front

How do you add new records to all columns of a table?

Back

INSERT INTO table_name VALUES (values);

5.

FLASHCARD QUESTION

Front

What is the syntax to retrieve values from a table using SELECT?

Back

SELECT columns FROM table_name;

6.

FLASHCARD QUESTION

Front

How do you select all columns from a table?

Back

SELECT * FROM table_name;

7.

FLASHCARD QUESTION

Front

What does the DISTINCT operator do in SQL?

Back

It retrieves unique values from columns in a table.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?