Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

WGU C170 Basic SQL and Advanced SQL| WITH COMPLETE SOLUTIONS

Beoordeling
-
Verkocht
-
Pagina's
11
Cijfer
A+
Geüpload op
21-10-2022
Geschreven in
2022/2023

An alias is especially useful when a table must be joined to itself in a(n) ___________________ query. Correct Answer: recursive The ___________ condition is generally composed of an equality comparison between the foreign key and the primary key of related tables. Correct Answer: join A database language enables the user to create database and table structures to perform basic data management chores. Correct Answer: TRUE ______________________ is the process the DBMS uses to verify that only registered users access the database. Correct Answer: Authentication Only numeric data types can be added and subtracted in SQL. Correct Answer: FALSE A table can be deleted from the database by using the _______________________ command. Correct Answer: DROP TABLE To list all the contents of the PRODUCT table, a user would use ________________________________ Correct Answer: SELECT * FROM PRODUCT All SQL commands must be issued on a single line. Correct Answer: FALSE Mathematical operators cannot be used to place restrictions on character-based attributes. Correct Answer: FALSE A(n) _____________________ is a query that is embedded (or nested) inside another query. Correct 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 ________________________________________________ Correct 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. Correct Answer: query The SQL aggregate function that gives the total of all values for a selected attribute in a given column is _______ Correct Answer: SUM String comparisons

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

WGU C170 Basic SQL and Advanced SQL| WITH
COMPLETE SOLUTIONS
An alias is especially useful when a table must be joined to itself in a(n) ___________________
query. Correct Answer: recursive

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

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

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

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

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

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

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

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

A(n) _____________________ is a query that is embedded (or nested) inside another query.
Correct 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
________________________________________________ Correct 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. Correct
Answer: query

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

String comparisons are made from left to right. Correct Answer: TRUE

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

To make the output more readable, the SQL standard permits the use of aliases for any column in
a _____________ statement. Correct 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. Correct
Answer: cascading

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

The ANSI prescribes a standard SQL-the current fully approved version is known as SQL 07.
Correct 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. Correct 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? Correct 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. Correct Answer: TRUE

DATE() and SYSDATE are special functions that return today's date in MS Access and
__________________, respectively. Correct 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? Correct 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.
Correct Answer: ROLLBACK;

According to the rules of precedence, which of the following computations should be completed
first? Correct 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? Correct Answer: "SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT WHERE V_CODE = 21344;"

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
21 oktober 2022
Aantal pagina's
11
Geschreven in
2022/2023
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$8.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Classroom NURSING
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
4889
Lid sinds
4 jaar
Aantal volgers
3234
Documenten
55444
Laatst verkocht
15 uur geleden
NURSING

Assignments, Case Studies, Research, Essay writing service, Questions and Answers, Discussions etc. for students who want to see results twice as fast. I have done papers of various topics and complexities. I am punctual and always submit work on-deadline. I write engaging and informative content on all subjects. Send me your research papers, case studies, psychology papers, etc, and I’ll do them to the best of my abilities. Writing is my passion when it comes to academic work. I’ve got a good sense of structure and enjoy finding interesting ways to deliver information in any given paper. I love impressing clients with my work, and I am very punctual about deadlines. Send me your assignment and I’ll take it to the next level. I strive for my content to be of the highest quality. Your wishes come first— send me your requirements and I’ll make a piece of work with fresh ideas, consistent structure, and following the academic formatting rules. For every student you refer to me with an order that is completed and paid transparently, I will do one assignment for you, free of charge!!!!!!!!!!!!

Lees meer Lees minder
4.0

1192 beoordelingen

5
631
4
216
3
196
2
40
1
109

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen