Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU C170 Basic SQL(Graded A+)

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
20-08-2022
Written in
2022/2023

An alias is especially useful when a table must be joined to itself in a(n) ___________________ query. recursive The ___________ condition is generally composed of an equality comparison between the foreign key and the primary key of related tables. join 00:59 01:12 A database language enables the user to create database and table structures to perform basic data management chores. TRUE ______________________ is the process the DBMS uses to verify that only registered users access the database. Authentication Only numeric data types can be added and subtracted in SQL. FALSE A table can be deleted from the database by using the _______________________ command. DROP TABLE To list all the contents of the PRODUCT table, a user would use ________________________________ SELECT * FROM PRODUCT All SQL commands must be issued on a single line. FALSE Mathematical operators cannot be used to place restrictions on character-based attributes. FALSE A(n) _____________________ is a query that is embedded (or nested) inside another query. subquery "The query to join the P_DESCRIPT and P_PRICE fields from the PRODUCT table and the V_NAME, V_AREACODE, V_PHONE, and V_CONTACT fields from the VENDOR table where the values of V_CODE match is ________________________________________________ "SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE, V_PHONE FROM PRODUCT, VENDOR WHERE PRODUCT.V_CODE = VENDOR.V_CODE;" In the SQL environment, the word ___________ covers both questions and actions. query

Show more Read less
Institution
Course

Content preview

WGU C170 Basic SQL
An alias is especially useful when a table must be joined to itself in a(n)
___________________ query. - Answer recursive

The ___________ condition is generally composed of an equality comparison between
the foreign key and the primary key of related tables. - Answer join

A database language enables the user to create database and table structures to
perform basic data management chores. - Answer TRUE

______________________ is the process the DBMS uses to verify that only registered
users access the database. - Answer Authentication

Only numeric data types can be added and subtracted in SQL. - Answer FALSE

A table can be deleted from the database by using the _______________________
command. - Answer DROP TABLE

To list all the contents of the PRODUCT table, a user would use
________________________________ - Answer SELECT * FROM PRODUCT

All SQL commands must be issued on a single line. - Answer FALSE

Mathematical operators cannot be used to place restrictions on character-based
attributes. - Answer FALSE

A(n) _____________________ is a query that is embedded (or nested) inside another
query. - Answer subquery

"The query to join the P_DESCRIPT and P_PRICE fields from the PRODUCT table and
the V_NAME, V_AREACODE, V_PHONE, and V_CONTACT fields from the VENDOR
table where the values of V_CODE match is
________________________________________________ - Answer "SELECT
P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE, V_PHONE FROM
PRODUCT, VENDOR WHERE PRODUCT.V_CODE = VENDOR.V_CODE;"

In the SQL environment, the word ___________ covers both questions and actions. -
Answer query

The SQL aggregate function that gives the total of all values for a selected attribute in a
given column is _______ - Answer SUM

String comparisons are made from left to right. - Answer TRUE

, Date procedures are often more software-specific than other SQL procedures. - Answer
TRUE

To make the output more readable, the SQL standard permits the use of aliases for any
column in a _____________ statement. - Answer SELECT

A(n) _________________ order sequence is a multilevel ordered sequence that can be
created easily by listing several attributes, separated by commas, after the ORDER BY
clause. - Answer cascading

Data type selection is usually dictated by the nature of the data and by the intended
use. - Answer TRUE

The ANSI prescribes a standard SQL-the current fully approved version is known as
SQL 07. - Answer FALSE

The COUNT function is designed to tally the number of non-null "values" of an attribute,
and is often used in conjunction with the DISTINCT clause. - Answer TRUE

Which of the following queries will use the given columns and column aliases from the
PRODUCT table to determine the total value of inventory held on hand? - Answer
"SELECT P_DESCRIPT, P_QOH, P_PRICE, P_QOH*P_PRICE FROM PRODUCT;"

A database language enables the user to perform complex queries designed to
transform the raw data into useful information. - Answer TRUE

DATE() and SYSDATE are special functions that return today's date in MS Access and
__________________, respectively. - Answer Oracle

Which of the following queries will output the table contents when the value of the
character field P_CODE is alphabetically less than 1558-QW1? - Answer "SELECT
P_CODE, P_DESCRIPT, P_QOH, P_MIN, P_PRICE FROM PRODUCT WHERE
P_CODE <'1558-QW1';"

The ____________________ command is used to restore the database to its previous
condition. - Answer ROLLBACK;

According to the rules of precedence, which of the following computations should be
completed first? - Answer Performing operations within parentheses

Which of the following queries will output the table contents when the value of V_CODE
is equal to 21344? - Answer "SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT WHERE V_CODE = 21344;"

Using the _____________________________ command, SQL indexes can be created
on the basis of any selected attribute. - Answer CREATE INDEX

Written for

Course

Document information

Uploaded on
August 20, 2022
Number of pages
8
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EvaTee Phoenix University
Follow You need to be logged in order to follow users or courses
Sold
5221
Member since
4 year
Number of followers
3568
Documents
55921
Last sold
17 hours ago
TIGHT DEADLINE? I CAN HELP

Many students don\'t have the time to work on their academic papers due to balancing with other responsibilities, for example, part-time work. I can relate. kindly don\'t hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded

3.8

951 reviews

5
453
4
167
3
173
2
48
1
110

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions