
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
CryptoFactories.io v1.0
Quiz
•
KG - Professional Dev...
20 questions
123Go
Quiz
•
Professional Development
20 questions
riddles
Quiz
•
KG - Professional Dev...
20 questions
shoe quiz
Quiz
•
KG - Professional Dev...
20 questions
Woodwork Saws
Quiz
•
3rd Grade - Professio...
20 questions
Quizizz 4 JAVA
Quiz
•
Professional Development
20 questions
CPL Acft Tech - Carburation
Quiz
•
Professional Development
20 questions
Security K3
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Other
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...