
Final SQL2
Quiz
•
Specialty
•
1st Grade
•
Practice Problem
•
Medium
Cavid Memmedov
Used 5+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
19 questions
Mukti Parv 2020
Quiz
•
1st Grade - Professio...
20 questions
Football
Quiz
•
1st Grade - Professio...
15 questions
Easter Trivia
Quiz
•
KG - Professional Dev...
20 questions
Sachin Tendulkar
Quiz
•
KG - Professional Dev...
20 questions
Complex Stairs
Quiz
•
KG - University
20 questions
MAPLE and BEECH MATHS QUIZ 2
Quiz
•
1st Grade
18 questions
EES AR
Quiz
•
1st Grade - University
22 questions
Latin America Mapping Lab Review
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
