Final SQL2

Final SQL2

1st Grade

20 Qs

quiz-placeholder

Similar activities

School Breakfast Week

School Breakfast Week

1st Grade - University

20 Qs

Brawl stars

Brawl stars

KG - Professional Development

17 Qs

ALPACA KIND CLUB QUIZ

ALPACA KIND CLUB QUIZ

KG - Professional Development

15 Qs

РАБОТА С БАЗАМИ ДАННЫХ

РАБОТА С БАЗАМИ ДАННЫХ

1st - 5th Grade

20 Qs

Syllabus Scavenger Hunt

Syllabus Scavenger Hunt

KG - University

20 Qs

HTML/CSS for VS12 part 1

HTML/CSS for VS12 part 1

1st - 5th Grade

20 Qs

HYBRID HELIO BATCH1

HYBRID HELIO BATCH1

1st Grade

25 Qs

ch 10

ch 10

KG - University

20 Qs

Final SQL2

Final SQL2

Assessment

Quiz

Specialty

1st Grade

Medium

Created by

Cavid Memmedov

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

"Employees" adlı cədvəldən "last_name" sütununda "g" hərifinin olduğu(hərifin böyük-kiçik olmasından aslı olmayaraq ) bütün qeydləri seçən SQL ifadəsi hansıdır?

select * from employees where lower(last_name) like '%g%';

select * from employees where lower(last_name) like 'g%';

select * from employees where lower(last_name) like '%G%';

select * from employees where lower(last_name) = '%g%';

select * from employees where upper(last_name) like '%G';

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Sorğu edilən sütunun NULL qiymətləri varsa, hansı funksiya fərqli sayda sətirdə işləyəcək?

SUM

MIN

MAX

COUNT

AVG

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

"Employees" cədvəlini yalnız oxuma rejiminə salan sorğunu tapın.

alter table Employees read write

alter table Employees read only

modify table Employees read only

drop table Employees read only

alter table Employees read

4.

MULTIPLE SELECT QUESTION

5 mins • 1 pt

"Employees" cədvəlindəki "job_id"-si 'SA_REP' olmayan bütün sətirləri "Employees_copy" cədvəlinə daxil edən variantları tapın tapın.(İki variant seçin)

insert into Employees_copy as select * from Employees where job_id<>'SA_REP';

insert into Employees_copy select * from Employees where job_id<>'SA_REP';

insert into Employees_copy as select * from Employees where job_id !=' SA_REP';

insert into Employees_copy select * from Employees where job_id ^='SA_REP';

insert into Employees_copy select * from Employees where job_id='SA_REP';

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

"Employees" cədvəlindəki "first_name" -i 'Nancy' olan şəxsin məlumatını silən sorğunu tapın

delete Employees where first_name='Nancy'

drop Employees where first_name='Nancy'

truncate Employees where first_name='Nancy'

drop table Employees where first_name='Nancy'

delete Employees where first_name=Nancy

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Hansı SQL ifadəsində "salary" sütununa əsasən hər bir şəxsin maaşını 10% artımı "Salary Increase" kimi göstərilib.

select salary,salary*1.1 "Salary Increase" from Employees;

select salary,salary*10% "Salary Increase" from Employees;

select salary,salary*0.1 "Salary Increase" from Employees;

select salary,salary*1.1% "Salary Increase" from Employees;

select salary,salary*0.01 "Salary Increase" from Employees;

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Birinci və ikinci ifadələri müqayisə edir. Əgər onların qiyməti bərabər olarsa, funksiya NULL qiymətini qaytaracaq. Əgər onların qiyməti bərabər olmazsa, o zaman funksiya birinci ifadənin qiymətini qaytaran funksiyanı tapın.

NULLİF

NVL

NVL2

İF

İF ELSE

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?