RelationalDBDesign
SiteMap
Advanced SQL
Essential SQL
Interview Questions
Table Querying
«Prev
Next»
SQL Introduction
Course Prerequisites
Select Statement
What is SQL
Sample SQL Statement
Client/Server Request
SQL 92 (History)
SQL Dialect Variations
Database Selection
Database Setup
MS-SQL Server
SQL Module Review
Relational Databases
Relational vs Flatfile
Different Storage Formats
Relational DB Analogy
Database Normalization
Data Table Example
Normalization Example Table
Table Normalization - Exercise
Three Normalization Levels
Relational Flatfile DB
SQL Columns Rows
SQL Foundations
Database Elements
Database Spreadsheets
Database Parts - Quiz
Table Structure SQL
Create Table
Databases Column Types
Table Index
Create Index Column
Database Index Engine
Database Foundations - Quiz
SQL Insert
SQL Select Statement
Selecting Information
Tables Rows Dsatabase
Querying XML
Table Querying
SQL Conclusion
INTO Statement
Order By Clause
SQL Into Statement
Filtering Select
Where Clause
Like Statement
into Statement
Sorting Data
Order by Clause
Sort Select
Ascending Descending Order
Select Statement
More SQL
Filtering Select Statement
Joining Tables
Join Where Clause
SQL Joins Explained
Where Clause Join
inner-outer-joins
left-right-full-joins
left-right-joins
SQL Union Operator
SQL Join Conclusion
Different SQL Operations - Quiz
Deciding which statements to use for different operations
Each question is worth one point. Select the best answer or answers for each question.
1.
You need to insert a row into the customer table. Which statement will accomplish this?
Please select the best answer.
A.
PUT (information) INTO customer WHERE CustomerID=NEW
B.
SAVE (information) INTO Customer
C.
INSERT INTO Customer (what columns) VALUES (information)
D.
INSERT INTO Customer (information)
2.
If you want to remove a row from the customer table, what statement will you use?
Please select the best answer.
A.
REMOVE FROM Customer WHERE ...
B.
ERASE FROM Customer
C.
DELETE FROM Customer IF customerID=...
D.
DELETE FROM Customer WHERE customerID=...
3.
You need to make a change to an existing row in the table. Which statement will you use?
Please select the best answer.
A.
UPDATE
B.
CHANGE
C.
DELETE then INSERT a new row
D.
MODIFY
4.
Which of the following statements is incorrect?
Please select the best answer.
A.
SELECT ALL FROM Customer
B.
SELECT * FROM Customer WHERE CustomerID=5
C.
SELECT * FROM Customer Where CustomerID=5
D.
SELECT * FROM Customer IF CustomerID=5
Correct answers:
Your Score: 0
Submit
Quiz Explanation