SQL Test 1

SQL Test 1

University

15 Qs

quiz-placeholder

Similar activities

Data Warehouse - Foundations

Data Warehouse - Foundations

University

10 Qs

Digital Technology Office 365 - 29May2020

Digital Technology Office 365 - 29May2020

University - Professional Development

13 Qs

GIS Unit III

GIS Unit III

University

15 Qs

ICT Unit-2

ICT Unit-2

University

20 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

Machine Learning

Machine Learning

University

20 Qs

Test PKS 1 - Modul 2

Test PKS 1 - Modul 2

University

20 Qs

Enterprise Applications

Enterprise Applications

University

15 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