
Final SQL2
Authored by Cavid Memmedov
Specialty
1st Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
20 questions
РАБОТА С БАЗАМИ ДАННЫХ
Quiz
•
1st - 5th Grade
20 questions
Fruits and vegetables
Quiz
•
1st - 12th Grade
20 questions
Gk Quiz-IX
Quiz
•
KG - Professional Dev...
21 questions
are you loco homie
Quiz
•
KG - 11th Grade
24 questions
Chinese New Year Quiz
Quiz
•
1st Grade
20 questions
The Royal Family
Quiz
•
KG - 12th Grade
15 questions
Dr. Seuss Quiz
Quiz
•
1st - 5th Grade
20 questions
School Breakfast Week
Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Specialty
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade