SQL EXAM TESTING_TT PMVT (16/03/2021)

Quiz
•
Other
•
Professional Development
•
Hard
Nguyen Trung
Used 7+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which two statements are true regarding the USING and ON clauses in table joins?
Both USING and ON clauses can be used for equijoins and nonequijoins.
A maximum of one pair of columns can be joined between two tables using the ON clause
The ON clause can be used to join tables on columns that have different names but compatible data types
The WHERE clause can be used to apply additional conditions in SELECT statements containing the ON or the USING clause
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Identify the SELECT statements that execute successfully
SELECT first_name, last_name, job_id, salary*12 AS Yearly Sal
FROM employees;
SELECT first_name, last_name, job_id, salary*12 "yearly sal"
FROM employees;
SELECT first_name, last_name, job_id, salary AS "yearly sal"
FROM employees;
SELECT first_name+last_name AS name, job_Id, salary*12 yearly sal
FROM employees;
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The TO_NUMBER function converts either character strings or date values to a number in the format specified by the optional format model.
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Evaluate the following query:
SQL> SELECT promo_name || q'{'s start date was }' || promo_begin_date AS "Promotion Launches"
FROM promotions;
What would be the outcome of the above query?
It produces an error because flower braces have been used.
It produces an error because the data types are not matching.
It executes successfully and introduces an 's at the end of each promo_name in the output.
It executes successfully and displays the literal " {'s start date was } " for each row in the output.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The following statements produce the same results:
DELETE FROM copy_emp;
TRUNCATE TABLE copy_emp;
True
False
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which three statements/commands would cause a transaction to end?
COMMIT
SELECT
CREATE
ROLLBACK
SAVEPOINT
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following statements are true about single-row functions?
Manipulate data items
Accept arguments and return one value per argument
Act on each row that is returned
Return one result per set of rows
May not modify the data type
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Woodwork Saws

Quiz
•
3rd Grade - Professio...
20 questions
SQL Quiz session -1

Quiz
•
Professional Development
15 questions
DBMS CSEDS

Quiz
•
Professional Development
15 questions
SQL CASE Statement MCQs

Quiz
•
Professional Development
25 questions
BÀI KIỂM TRA ỨNG VIÊN TRIỂN KHAI & HELPDESK

Quiz
•
Professional Development
20 questions
AutoCAD Coordinate System

Quiz
•
7th Grade - Professio...
15 questions
POST TEST DATABASE

Quiz
•
University - Professi...
16 questions
Selecting the template that best fits the scenario

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development