• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/25

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

25 Cards in this Set

  • Front
  • Back
Which type of join, although not included in standard SQL, was created to allow
unmatched rows to appear in the result of a join operation?
a. ODD JOIN
b. OUTER JOIN
c. INNER JOIN
d. OPEN JOIN
e. COMBINE JOIN
SQL statements can be run individually or as part of a related group of SQL statements
known as a(n):
a. Scriptset.
b. Result.
c. Script.
d. Resultset.
e. Commandset.
SQL views are used:
a. to hide columns or rows.
b. All of these
c. to hide complicated SQL syntax.
d. to layer built-in functions.
e. to display the results of computations.
SQL statements used to construct views cannot contain:
a. the FROM clause.
b. the WHERE clause.
c. the SELECT clause.
d. the LIKE keyword.
e. the ORDER BY clause.
Database objects are displayed in the Object Explorer window in the SQL Server
Management Studio.
True
False
The Microsoft SQL Server 2008 Management Studio is included with Microsoft SQL
Server 2008 R2 Express Advanced.
True
False
SQL query results are displayed in a tabbed Resultset window.
True
False
The SQL statement used to delete a view from a database is:
a. DELETE VIEW ViewName.
b. ALTER EXISTING VIEW ViewName AS.
c. DROP EXISTING VIEW ViewName.
d. ALTER VIEW ViewName AS.
e. DROP VIEW ViewName.
To start working with SQL Server 2008 R2 Express use the command Start | All
Programs | Microsoft SQL Server 2008 R2 | SQL Server management Studio Express
True
False
Database objects are displayed in the _________ in the SQL Server Management Studio.
Object Explorer
A new SQL Server database is created using the New Database dialog box.
True
False
SQL statements can be run individually or as part of a related group of SQL statements
known as a script.
True
False
The SQL statement used to modify a view is:
a. DROP EXISTING VIEW ViewName.
b. DROP VIEW ViewName.
c. ALTER VIEW ViewName AS.
d. ALTER EXISTING VIEW ViewName AS.
e. MODIFY VIEW ViewName AS.
SQL views are constructed from:
a. SELECT statements.
b. CREATE statements.
c. INSERT statements.
d. VIEW statements.
e. UPDATE statements.
(Number 15)
Based on the tables below, which of the following SQL commands would create an SQL
view named CustomerSalesRep that could be used to display CustNo, CustName,
RepName?
GENERAL SALES DATABASE:
a. CREATE VIEW CustomerSalesRep AS
SELECT CustNo, CustName, RepName
FROM SALESREP, CUSTOMER
WHERE CustNo=*;
b. SELECT CustNo, CustName, RepName
FROM SALESREP, CUSTOMER;
c. CREATE VIEW CustomerSalesRep AS
SELECT CustNo, CustName, RepName
FROM SALESREP, CUSTOMER
WHERE SALEREP,SalesRepNo = CUSTOMER,SalesRepNo;
d. SELECT CustNo, CustName, RepName
FROM SALESREP, CUSTOMER
WHERE SALEREP,SalesRepNo = CUSTOMER,SalesRepNo;
e. SELECT CustNo, CustName, RepName
FROM SALESREP, CUSTOMER
WHERE CustNo=*;
To run an SQL script, click the Execute button on the Query Toolbar.
True
False
An important reason for using SQL Server 2008 R2 Express is that it has full SQL
capabilities.
True
False
Users log into SQL Server 2008 R2 Express using the Connect to Server dialog box.
True
False
DBMS objects are displayed:
a. in the Navigation Pane.
b. in the command tab.
c. in the tabbed document window.
d. in the tabbed database window.
e. in the Object Browser.
A new SQL Server database is created using the ____________ dialog box.
New Database
When an SQL SELECT statement is used to retrieve a view instance, the maximum
number of columns that can be specified in the SELECT is the same as the number of
columns:
a. in the VIEW specification.
b. in the HAVING clause.
c. in the ORDER BY clause.
d. that have aliases.
e. in the table underlying the view.
SQL view instances are retrieved using the:
a. SQL UPDATE statement.
b. SQL CREATE statement.
c. SQL SELECT statement.
d. SQL DELETE statement.
e. SQL INSERT statement.
SQL query results are displayed in a tabbed ________ window.
results
Although it cannot be used in creating a SQL VIEW, the SQL SELECT statements
retrieving view instances can include:
a. SQL keyword NULL.
b. SQL keyword BETWEEN.
c. SQL keyword NOT NULL.
d. SQL keyword ORDER BY.
e. SQL keyword LIKE.
To create a new SQL query, click the New Query button
True
False