SQL Test 1

SQL Test 1

University

15 Qs

quiz-placeholder

Similar activities

Software Engineering Quiz 1

Software Engineering Quiz 1

University

20 Qs

Python List

Python List

4th Grade - University

15 Qs

Machine Learning (Introduction)

Machine Learning (Introduction)

University

10 Qs

INTERNET

INTERNET

University

20 Qs

Python MCQ

Python MCQ

University

20 Qs

WML & WAP

WML & WAP

University

20 Qs

Web quiz 1 - HTML/CSS

Web quiz 1 - HTML/CSS

University

20 Qs

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

SQL Test 1

SQL Test 1

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Vikas Bandaru

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which SQL keyword is used to insert data into a table?

SELECT
INSERT
UPDATE
DELETE

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which SQL keyword is used to update data in a table?

SELECT
INSERT
UPDATE
DELETE

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which SQL keyword is used to delete data from a table?

SELECT
INSERT
UPDATE
DELETE

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax for creating a database?

CREATE TABLE database_name;
CREATE DATABASE database_name;
CREATE SCHEMA database_name;
CREATE db database_name;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax for dropping a table?

DROP TABLE table_name;
DELETE TABLE table_name;
REMOVE TABLE table_name;
TRUNCATE TABLE table_name;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax for dropping a database?

DROP DB database_name;
DELETE DATABASE database_name;
DROP DATABASE database_name;
REMOVE DATABASE database_name;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax for altering a table to add a new column?

ALTER TABLE table_name ADD column_name data_type;
ALTER TABLE table_name MODIFY column_name data_type;
ALTER TABLE table_name RENAME column_name TO new_column_name;
ALTER TABLE table_name DROP column_name;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers