C192 Advanced SQL

Description

College C192 Databases Quiz on C192 Advanced SQL, created by Craig Willey on 27/06/2020.
Craig Willey
Quiz by Craig Willey, updated more than 1 year ago
Craig Willey
Created by Craig Willey almost 4 years ago
5
0

Resource summary

Question 1

Question
You can join tables by using a condition in the ____ clause.
Answer
  • FROM
  • WHERE
  • SELECT
  • JOIN

Question 2

Question
Which of the following joins compares the tables in the FROM clause and lists only those rows that satisfy the condition in the WHERE clause?
Answer
  • inner
  • outer
  • nested
  • product

Question 3

Question
In a(n) ____ join, all rows from both tables are included regardless of whether they match rows from the other table.
Answer
  • normal
  • inner
  • full outer
  • combined

Question 4

Question
In a ____, all rows from the table on the left (the table listed first in the query) will be included regardless of whether they match rows from the table on the right (the table listed second in the query).
Answer
  • left inner join
  • left outer join
  • right inner join
  • right outer join

Question 5

Question
In a ____, all rows from the table on the right will be included regardless of whether they match rows from the table on the left.
Answer
  • left inner join
  • left outer join
  • right outer join
  • right inner join

Question 6

Question
The CREATE VIEW command includes the words CREATE VIEW, followed by the name of the view, the word ____, and then a query.
Answer
  • AC
  • SA
  • AS
  • IN

Question 7

Question
The main mechanism for providing access to a database is the ____ command.
Answer
  • PERMIT
  • ACCESS
  • GRANT
  • REVOKE

Question 8

Question
The correct command to allow user Thompson to delete rows in the CUSTOMER table would be: GRANT ____ ON CUSTOMER TO THOMPSON.
Answer
  • DROP
  • REMOVE
  • UPDATE
  • DELETE

Question 9

Question
The privilege ____ can be granted to retrieve data.
Answer
  • SELECT
  • UPDATE
  • RETRIEVE
  • READ

Question 10

Question
When you specify a foreign key, the table referenced by the foreign key is the ____.
Answer
  • super
  • sibling
  • parent
  • child

Question 11

Question
The privilege ____ can be granted to change data.
Answer
  • WRITE
  • UPDATE
  • ALTER
  • READ AND WRITE

Question 12

Question
The privilege ____ can be granted to change the table structure.
Answer
  • WRITE
  • UPDATE
  • ALTER
  • MODIFY

Question 13

Question
To create a stored procedure in Oracle, use the ____ command.
Answer
  • CREATE ROUTINE
  • CREATE SCRIPT
  • CREATE PROCEDURE
  • CREATE EXECUTABLE

Question 14

Question
A(n) ____ is a procedure that is executed automatically in response to an associated database operation.
Answer
  • cursor
  • trigger
  • waypoint
  • fetchpoint
Show full summary Hide full summary

Similar

Mind Maps Essay Template
linda_riches
GCSE PE - 1
lydia_ward
Resumo para o exame nacional - Fernando Pessoa Ortónimo, Alberto Caeiro , Ricardo Reis e Álvaro Campos
miminoma
To Kill a Mockingbird Key Themes and Quotes
Matthew T
The Cold War Quiz
Niat Habtemariam
GCSE AQA Citizenship Studies: Theme 1
I Turner
Biology Unit 4: Respiration and Photosynthesis
Charlotte Lloyd
GCSE AQA Biology 1 Quiz
Lilac Potato
Music Therapy - CBMT practice exam #1
Jessica H.
Blood MCQs Physiology PMU 2nd Year
Med Student
1PR101 2.test - Část 19.
Nikola Truong