
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
April Safetyfirst Campaign Quiz
Quiz
•
Professional Development
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...
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development