100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
DB SQL UPDATED ACTUAL Exam Questions and CORRECT Answers $9.99   Add to cart

Exam (elaborations)

DB SQL UPDATED ACTUAL Exam Questions and CORRECT Answers

 6 views  0 purchase
  • Course
  • DB SQL
  • Institution
  • DB SQL

DB SQL UPDATED ACTUAL Exam Questions and CORRECT Answers The ________ is the structure that contains descriptions of objects such as tables and views created by users. - CORRECT ANSWER- schema ________ is a set of commands used to control a database, including security. - CORRECT ANSWER- DC...

[Show more]

Preview 3 out of 16  pages

  • October 17, 2024
  • 16
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • DB SQL
  • DB SQL
avatar-seller
MGRADES
DB SQL UPDATED ACTUAL Exam
Questions and CORRECT Answers
The ________ is the structure that contains descriptions of objects such as tables and views
created by users. - CORRECT ANSWER- ✔✔schema


________ is a set of commands used to control a database, including security. - CORRECT
ANSWER- ✔✔DCL


________ is a set of commands used to update and query a database. - CORRECT
ANSWER- ✔✔DML


DDL is typically used during which phase of the development process? - CORRECT
ANSWER- ✔✔Physical design


The main concept of relational databases was published in 1970 by: - CORRECT ANSWER-
✔✔E.F.Codd.


Relational databases are heavily based on the mathematical concept of: - CORRECT
ANSWER- ✔✔Set Theory.



The command for creating a database is: - CORRECT ANSWER- ✔✔create schema.


The SQL command ________ defines a logical table from one or more tables or views. -
CORRECT ANSWER- ✔✔create view


Any create command may be reversed by using a(n) ________ command. - CORRECT
ANSWER- ✔✔drop


The first in a series of steps to follow when creating a table is to: - CORRECT ANSWER-
✔✔identify each attribute and its characteristics.

,The SQL command ________ adds one or more new columns to a table. - CORRECT
ANSWER- ✔✔alter table



INSERT INTO is an example of ________ code. - CORRECT ANSWER- ✔✔DML


What does the following SQL command do? insert into Customer_T values (001,'John
Smith','231 West St','Boston','MA','02115') - CORRECT ANSWER- ✔✔Adds a new record
to the Customer_T


Given a table named store with 5 fields: store_id, address, city, state, zipcode, why would the
following insert command not work? insert into store values ('234 Park Street') - CORRECT
ANSWER- ✔✔You must specify the fields to insert if you are only inserting some of the
fields.


Which of the following is a technique for optimizing the internal performance of the
relational data model? - CORRECT ANSWER- ✔✔Clustering data



Indexes are created in most RDBMSs to: - CORRECT ANSWER- ✔✔provide rapid random
and sequential access to base-table data.


In an SQL statement, which of the following parts states the conditions for row selection? -
CORRECT ANSWER- ✔✔Where


The first part of an SQL query to be read is the ________ statement. - CORRECT ANSWER-
✔✔FROM


The last part of an SQL query to be read is the ________ statement. - CORRECT ANSWER-
✔✔ORDER BY



- CORRECT ANSWER- ✔✔


What does the following SQL statement do? Select * From Customer Where Cust_Type =
"Best" - CORRECT ANSWER- ✔✔Selects all the fields from the Customer table for each
row with a customer labeled "Best"

, What result will the following SQL statement produce? Select Avg(standard_price) as
average from Product_V - CORRECT ANSWER- ✔✔The average Standard_Price of all
products in Product_V


Which of the following questions is answered by the SQL statement? Select Count
(Product_Description) from Product_T - CORRECT ANSWER- ✔✔How many products
have product descriptions in the Product Table?


Which of the following counts ONLY rows that contain a value? - CORRECT ANSWER-
✔✔Count


Which of the following will produce the minimum of all standard prices? - CORRECT
ANSWER- ✔✔Select min(standard_price) from Product_V;


Which of the following is the wildcard operator in SQL statements? - CORRECT ANSWER-
✔✔*


To eliminate duplicate rows in a query, the ________ qualifier is used in the SQL Select
command. - CORRECT ANSWER- ✔✔distinct


To get all the customers from Hawaii sorted together, which of the following would be used?
- CORRECT ANSWER- ✔✔ORDER BY


A single value returned from an SQL query that includes an aggregate function is called a(n):
- CORRECT ANSWER- ✔✔scalar aggregate.


Multiple values returned from an SQL query that includes an aggregate function are called: -
CORRECT ANSWER- ✔✔vector aggregates.


Which of the following can produce scalar and vector aggregates? - CORRECT ANSWER-
✔✔GROUP BY

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79373 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.99
  • (0)
  Add to cart