
DBMS_B1_04032020
Quiz
•
Other
•
University
•
Practice Problem
•
Hard
Narasimha Reddy Soora
Used 4+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You need to update the area code of employees that live in Atlanta. Evaluate this partial UPDATE statement:
UPDATE employee SET area_code = 770
Which of the following should you include in your UPDATE statement to achieve the desired results?
WHERE city = 'Atlanta';
SET city = 'Atlanta';
LIKE 'At%';
UPDATE city = Atlanta;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
One employee has the last name of 'King' in the employees table. How many rows will be deleted from the employees table with the following statement?
DELETE FROM employees WHERE last_name = 'king';
All rows with last_name = 'King' will be deleted
No rows will be deleted, as no employees match the WHERE-clause.
One will be deleted, as there exists one employee named King.
All the rows in the employees table will be deleted.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If a default value was set for a null column, Oracle sets the column to the default value. However, if no default value was set when the column was created, Oracle inserts an empty space.
True
False
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the quickest way to use today's date when you are creating a new row?
Simply use the keyword DATE in the insert statement.
Use the TODAYS_DATE function.
Use the SYSDATE function.
Simply write today's date in the format 'dd-mon-rrrr'.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Using the INSERT statement and assuming that a column can accept null values, how can you implicitly insert a null value in a column? Mark for Review
It is not possible to implicitly insert a null value in a column.
Use the NULL keyword.
Omit the column in the column list.
Use the ON clause
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When inserting rows into a table, all columns must be given values. True or False?
True
False
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You want to execute one DML statement to change the salary of all employees in department 10 to equal the new salary of employee number 89898. Currently, all employees in department 10 have the same salary value. Which statement should you execute?
UPDATE employees SET salary = (SELECT salary FROM employees WHERE employee_id = 89898);
UPDATE employees SET salary = (SELECT salary FROM employees WHERE employee_id = 89898 AND department_id = 10);
UPDATE employees SET salary = SELECT salary FROM employees WHERE employee_id = 89898;
UPDATE employees SET salary = (SELECT salary FROM employees WHERE employee_id = 89898)
WHERE department_id = 10;
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
15 questions
Taxation - Introduction to Tax
Quiz
•
University
10 questions
Prime Ministers of India
Quiz
•
1st Grade - University
10 questions
Latest Technology in Modern Hotel
Quiz
•
University
10 questions
Dragon Mania Ledgends Quiz
Quiz
•
1st Grade - Professio...
17 questions
Ecosystem Services
Quiz
•
University
20 questions
UAS Dinamika Kelompok
Quiz
•
University
20 questions
THMM 2
Quiz
•
University
13 questions
Trivia Tuesday - MUSIC!
Quiz
•
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
