SQL (76-103)

SQL (76-103)

University

28 Qs

quiz-placeholder

Similar activities

DBMS Enhancement Quiz

DBMS Enhancement Quiz

University

33 Qs

UAS_Kelas C

UAS_Kelas C

University

25 Qs

Database Systems Quiz SE(Blue)

Database Systems Quiz SE(Blue)

University

30 Qs

Foundations of Data Management Quiz

Foundations of Data Management Quiz

University

23 Qs

Spelling: Can't You Make Them Behave, King George?

Spelling: Can't You Make Them Behave, King George?

KG - University

25 Qs

REVIEW FOR PMS

REVIEW FOR PMS

University

25 Qs

BSIT 2B Check up Test

BSIT 2B Check up Test

University

25 Qs

SQL ДББЖ

SQL ДББЖ

University

25 Qs

SQL (76-103)

SQL (76-103)

Assessment

Quiz

Other

University

Easy

Created by

Gulnaz Sabdenova

Used 4+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Retrieve all data from the table office {id, locations, name}

Select *from office;

Select from office;

Select name from office;

Select *form office;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

sName,sAddress(Student) is equal to?

SELECT Sname FROM Students

SELECT Sname, SAddress FORM Students

SELECT Sname and SAddress FROM Students

SELECT Sname, SAddress FROM Student

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define an union

combines the result set of two or more select statements

returns all rows from the left table (1. ) and from the right table (2)

returns all rows from the right table (2), with the matching rows in the right table (1. )

returns all rows from the left table (1. ), with the matching rows in the right table (2)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the SQL statement that is equal to: SELECT NAME FROM CUSTOMER WHERE STATE = 'VA';

SELECT NAME IN CUSTOMER WHERE STATE IN 'VA';

SELECT NAME IN CUSTOMER WHERE STATE = 'VA';

SELECT NAME FROM CUSTOMER WHERE STATE IN 'VA';

SELECT NAME IN CUSTOMER WHERE STATE = 'V';

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you change "Hansen" into "Nilsen" in the "LastName" column in the Students table?

Update persons set lastname = 'hansen' into lastname = 'nilsen'

Update students set lastname = 'hansen' into lastname = 'nilsen'

Update persons set lastname = 'hansen' where lastname = 'nilsen'

Update students set lastname = 'nilsen' where lastname = 'hansen'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how to Add a new column into existing table?

ALTER TABLE Student MODIFY COLUMN sDegree CHAR(64) NOT NULL

ALTER TABLE Student ADD COLUMN sDegree VARCHAR(64) NOT NULL

ALTER TABLE S ADD COLUMN s VACHAR(64) NOT NULL

ALTER TABLE Student DROP COLUMN sDegree VARCHAR(64) NOT NULL

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how to change the row(s) in a table

insert

update

change

delete

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?