SQL (76-103)

SQL (76-103)

University

28 Qs

quiz-placeholder

Similar activities

ASD Quiz Lec-(2)

ASD Quiz Lec-(2)

University - Professional Development

30 Qs

5th Grade - CCRC / SORA / Kids Catalog / Genre Quiz

5th Grade - CCRC / SORA / Kids Catalog / Genre Quiz

5th Grade - University

25 Qs

Access 2.03-2.04 Review

Access 2.03-2.04 Review

KG - University

26 Qs

SMK PK_UAS 2024_BASIS DATA_XII RPL-1

SMK PK_UAS 2024_BASIS DATA_XII RPL-1

12th Grade - University

30 Qs

trac nghiem SQL don gian

trac nghiem SQL don gian

University

24 Qs

8th grade quiz for those that don't study or review.

8th grade quiz for those that don't study or review.

6th Grade - Professional Development

24 Qs

Career Research Vocabulary

Career Research Vocabulary

6th Grade - University

27 Qs

Accounting - Chapter 13

Accounting - Chapter 13

KG - University

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