
Postgree SQL Day-1

Quiz
•
Other
•
Professional Development
•
Medium
swaas 3
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
Reliance

Quiz
•
Professional Development
20 questions
Project Resource Management I (20)

Quiz
•
Professional Development
20 questions
DRT BIRTHDAY QUIZ

Quiz
•
Professional Development
20 questions
Frontend Assignment

Quiz
•
Professional Development
25 questions
HR Management Strategies Quiz

Quiz
•
Professional Development
20 questions
HINDI QUIZ ON OL

Quiz
•
12th Grade - Professi...
20 questions
Core HR Assessment Quiz

Quiz
•
Professional Development
23 questions
Sosialisasi Pemilih Pemula

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade