
Postgree SQL Day-1
Authored by swaas 3
Other
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Which SQL statement is used to select all records from a table named 'CUSTOMERS'?(ANSWER MUST BE WRITTEN IN CAPITAL LETTERS ONLY, NOT IN SMALL LETTERS)
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Filter records using WHERE
Retrieves EMPLOYEES who work in the IT DEPARMENT?(ANSWER MUST BE WRITTEN IN CAPITAL LETTERS ONLY, NOT IN SMALL LETTERS)
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Use LIKE for pattern matching
Finds CUSTOMERS whose CUSTOMERNAME start with "A".(ANSWER MUST BE WRITTEN IN CAPITAL LETTERS ONLY, NOT IN SMALL LETTERS)
4.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Lists PRODUCTS ordered by PRICE in descending order.(ANSWER MUST BE WRITTEN IN CAPITAL LETTERS ONLY, NOT IN SMALL LETTERS and SPACE)
5.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Aggregate function with GROUP BY
Write a SQL query to COUNT THE NUMBER OF EMPLOYEES IN EACH DEPARTMENT and name the count column as TOTALEMPLOYEES (THE ANSWER MUST BE WRITTEN IN CAPITAL LETTERS ONLY, NO SMALL LETTERS).
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Delete a record
Deletes the PRODUCTNAME "PEPSI" from the PRODUCTS table.(ANSWER MUST BE WRITTEN IN CAPITAL LETTERS ONLY, NOT IN SMALL LETTERS)
7.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Write a query to retrieve employee names and their department names.(ANSWER MUST BE WRITTEN IN CAPITAL LETTERS ONLY, NOT IN SMALL LETTERS)
Tables:
EMPLOYEES E(EMPLOYEEID, NAME, DEPARTMENTID)
DEPARTMENTS D(DEPARTMENTID, DEPARTMENTNAME)
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
RDS Exam Questions
Quiz
•
Professional Development
20 questions
Integria - Rebuttals
Quiz
•
Professional Development
20 questions
GKC - Weekly Quiz 11 - Dinosaurs
Quiz
•
1st Grade - Professio...
20 questions
IACA Christmas Trivias
Quiz
•
Professional Development
25 questions
AVENGERS ENDGAME - Super Fan Quiz
Quiz
•
KG - Professional Dev...
20 questions
Edukasi Rupiah Kepada PERBARINDO Tahun 2024
Quiz
•
Professional Development
20 questions
World Book Day 2020
Quiz
•
KG - Professional Dev...
20 questions
April Safetyfirst Campaign Quiz
Quiz
•
Professional Development
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
44 questions
Would you rather...
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
14 questions
Valentine's Day Trivia!
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development