SQL (76-103)

SQL (76-103)

University

28 Qs

quiz-placeholder

Similar activities

Money, fiscal and Monetary policy

Money, fiscal and Monetary policy

KG - University

23 Qs

mkd1013 e182

mkd1013 e182

University

30 Qs

UAS_KELAS A

UAS_KELAS A

University

25 Qs

Long Test | System Administration and Infrastructure Management

Long Test | System Administration and Infrastructure Management

University

30 Qs

Brawl stars

Brawl stars

1st Grade - Professional Development

24 Qs

PLACES AND THINGS

PLACES AND THINGS

University

23 Qs

Coding 1 SMA Immanuel

Coding 1 SMA Immanuel

University

25 Qs

Group of Accounts

Group of Accounts

University

30 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?