
Final SQL2

Quiz
•
Specialty
•
1st Grade
•
Medium
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
Similar Resources on Wayground
25 questions
HYBRID HELIO BATCH1

Quiz
•
1st Grade
15 questions
SSC600: Live Lecture Quiz - Week 2

Quiz
•
1st - 5th Grade
20 questions
Economía: Circulación. Demanda y oferta.

Quiz
•
1st - 12th Grade
24 questions
DPI Testing

Quiz
•
1st Grade
20 questions
School Breakfast Week

Quiz
•
1st Grade - University
20 questions
РАБОТА С БАЗАМИ ДАННЫХ

Quiz
•
1st - 5th Grade
20 questions
HTML/CSS for VS12 part 1

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Specialty
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade