
DBMS_CSN_WEEK5_QUIZ
Authored by K.vinay kumar
Computers
University
Used 58+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which best describes the TO_CHAR function?
The TO_CHAR function can be used to specify meaningful column names in an SQL statement's result set.
The TO_CHAR function can only be used on Date columns.
The TO_CHAR function can be used to display dates and numbers according to formatting conventions that are supported by Oracle.
The TO_CHAR function can be used to remove text from column data that will be returned by the database.
OPTION A AND B
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which group function would you use to display the highest salary value in the EMPLOYEES table?
COUNT
MIN
AVG
MAX
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Evaluate this SELECT statement:
SELECT MIN(hire_date), department_id
FROM employees
GROUP BY department_id;
Which values are displayed?
The hire dates in the EMPLOYEES table that contain NULL values
The latest hire date in the EMPLOYEES table
The earliest hire date in the EMPLOYEES table
The earliest hire date in each department
None of the above
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following entities most likely contains valid attributes? (Choose two)
Entity: Car. Attributes: Owner Occupation, Owner Salary, Speed
Entity: Home. Attributes: Number of Bedrooms, Owner, Address, Date Built
Entity: Pet. Attributes: Name, Birthdate, Owner
Entity: Mother. Attributes: Name, Birthdate, Occupation, Start Date
NONE OF THE ABOVE
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which SELECT statement will display both unique and non-unique combinations of the MANAGER_ID and DEPARTMENT_ID values from the EMPLOYEES table.
SELECT DISTINCT manager_id, department_id FROM employees;
SELECT manager_id, department_id DISTINCT FROM employees;
SELECT manager_id, DISTINCT department_id FROM employees;
SELECT manager_id, department_id FROM employees;
OPTION B AND C
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record?
Candidate key
SURROGATE key
Super key
Foreign key
NONE OF THE ABOVE
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
List out the department wise maximum
salary, minimum salary, average salary of the employees
Select job_id, count(*), max(salary), min(salary), avg(salary) from employee group by job_id
Select DEPT_ID, count(*), max(salary), min(salary), avg(salary) from employee group by DEPT_ID
Select DEPT_ID, count(*), from employee group by DEPT_ID
Select job_id, count(*), SUM(salary), min(salary), avg(salary) from employee group by job_id
OPTION A AND C
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
10 questions
Introduction to software engineering
Quiz
•
University
15 questions
CIS1101-programming practice
Quiz
•
University
14 questions
IOTA : Web Development Bootcamp Quiz 2
Quiz
•
University
15 questions
DBMS_Quiz_1
Quiz
•
University
10 questions
Pop Quiz 3 (DFC20203)
Quiz
•
University
10 questions
Python quick quiz
Quiz
•
University
15 questions
TKJ
Quiz
•
12th Grade - University
15 questions
Computer DESKTOP - CESA
Quiz
•
7th Grade - University
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 Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University