
Postgree SQL Day-1
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Medium
swaas 3
Used 2+ times
FREE Resource
Enhance your content in a minute
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)
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
20 questions
Mock CBT 01 OHS 601 (Diploma)
Quiz
•
University - Professi...
20 questions
GK Quiz-VIII
Quiz
•
KG - Professional Dev...
20 questions
Trick Questions
Quiz
•
3rd Grade - Professio...
20 questions
Le PES Marché
Quiz
•
Professional Development
20 questions
Customer Service - Knowledge Check 1
Quiz
•
Professional Development
20 questions
Entertainment Quiz
Quiz
•
Professional Development
20 questions
Maintenance quiz
Quiz
•
Professional Development
20 questions
League of Leggos
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
