SQL_1

SQL_1

12th Grade

20 Qs

quiz-placeholder

Similar activities

SQL

SQL

12th Grade

20 Qs

Database SQL

Database SQL

1st - 12th Grade

20 Qs

SQL

SQL

12th Grade

15 Qs

SQL Queries

SQL Queries

12th Grade

25 Qs

BAZY ACCESS, SQL

BAZY ACCESS, SQL

12th Grade

22 Qs

MySQL-Grade XII IP

MySQL-Grade XII IP

12th Grade

20 Qs

Typy danych, polecenia bazy danych

Typy danych, polecenia bazy danych

9th - 12th Grade

20 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

SQL_1

SQL_1

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Anjali Luthra

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a DDL Command?

Create

Drop

Update

Truncate

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are required to update the phone number for only the DesignerID "SMI01" in the "Designer" table. Which of these would successfully do that?

UPDATE Designer SET PhoneNo = '01224123456'

UPDATE Designer (PhoneNo) VALUES ('01224123456')

UPDATE Designer SET PhoneNo = '01224123456' WHERE DesignerID = 'SMI01'

UPDATE PhoneNo = '01224123456' FROM Designer WHERE DesignerID = 'SMI01'

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The UPDATE SQL clause can _____________

update only one row at a time

update more than one row at a time

delete more than one row at a time

delete only one row at a time

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to extract data from a database?

Extract

Get

Open

Select

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a DML command that is used to display record.

DISPLAY

STRUCTURE

WHERE

SELECT

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the SQL command to change the datatype of the column SubjectName form char(10) to varchar(50) in table student.

Alter table Student

modify subjectname varchar(50);

Alter table Student

update subjectname varchar(50);

Update Student

modify subjectname char(50);

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________________ SQL command used to destroy the table named ‘STUDENT ‘ completely from database.

delete Student;

drop table student;

truncate table student;

delete table student;

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?