Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

database multiple questions

this is about databases questions , maybe i miss copy some option D, if ABC there are all incorrecct please type D after that question thank you 

Suppose that a PRODUCT table contains two attributes, PROD_CODE and VEND_CODE. Those two attributes have values of ABC, 125, DEF, 124, GHI, 124, and JKL, 123, respectively. The VENDOR table contains a single attribute, VEND_CODE, with values 123, 124, 125, and 126, respectively. (The VEND_CODE attribute in the PRODUCT table is a foreign key to the VEND_CODE in the VENDOR table.) Given that information, what would be the query output for a INTERSECT query based on these two tables?

What is the difference between UNION and UNION ALL?

A(n) ______________ is a block of PL/SQL code that is automatically invoked by the DBMS upon the occurrence of a data manipulation event (INSERT, UPDATE or DELETE.)

__________________ means that the relations yield attributes with identical names and compatible data types.

Which of the following a parts of the definition of a trigger?

Which of the following relational set operators does NOT require that the relations are union-compatible?

Suppose that you have two tables, EMPLOYEE and EMPLOYEE_1. The EMPLOYEE table contains the records for three employees: Alice Cordoza, John Cretchakov, and Anne McDonald. The EMPLOYEE_1 table contains the records for employees John Cretchakov and Mary Chen. Given that information, what is the query output for the INTERSECT query?

A _____________________ is a join that performs a relational product (or Cartesian product) of two tables.

What Oracle function should you use to calculate the number of days between the current date and January 25, 1999?

Using tables named T1 and T2, write a query example for a LEFT OUTER JOIN, assuming that T1 and T2 share a common column named C1.

Suppose that you have two tables, EMPLOYEE and EMPLOYEE_1. The EMPLOYEE table contains the records for three employees: Alice Cordoza, John Cretchakov, and Anne McDonald. The EMPLOYEE_1 table contains the records for employees John Cretchakov and Mary Chen. Given that information, what is the query output for the MINUS query (specifically, SELECT * FROM EMPLOYEE MINUS SELECT * FROM EMPLOYEE_1)?

What Oracle function should you use to return the current date?

Suppose that a PRODUCT table contains two attributes, PROD_CODE and VEND_CODE. Those two attributes have values of ABC, 125, DEF, 124, GHI, 124, and JKL, 123, respectively. The VENDOR table contains a single attribute, VEND_CODE, with values 123, 124, 125, and 126, respectively. (The VEND_CODE attribute in the PRODUCT table is a foreign key to the VEND_CODE in the VENDOR table.) Given that information, what would be the query output for a UNION ALL query based on these two tables?

_________________is a term used to refer to SQL statements that are contained within an application programming language such as COBOL, C++, ASP, Java, or ColdFusion.

The order of the operands (tables) matter in a _______ query.

Which of the following is true of Oracle sequences?

Which of the following is true of Oracle sequences?

A(n) ______________ is a named collection of procedural and SQL statements that are stored in the database and that can be used to encapsulate and represent business transactions.

Suppose that you have two tables, EMPLOYEE and EMPLOYEE_1. The EMPLOYEE table contains the records for three employees: Alice Cordoza, John Cretchakov, and Anne McDonald. The EMPLOYEE_1 table contains the records for employees John Cretchakov and Mary Chen. Given that information, what is the query output for the UNION query?

A subquery can appear in which of the following places in a SQL statement?

A __________ is a query (expressed as a SELECT statement) that is located inside another query and is normally executed first.

What string function (in Oracle) should you use to list the first three characters of a company's EMP_LNAME values using a table named EMPLOYEE?

_____________ is a term used to describe an environment in which the SQL statement is not known in advance; instead, the SQL statement is generated at run time.

Suppose that a PRODUCT table contains two attributes, PROD_CODE and VEND_CODE. Those two attributes have values of ABC, 125, DEF, 124, GHI, 124, and JKL, 123, respectively. The VENDOR table contains a single attribute, VEND_CODE, with values 123, 124, 125, and 126, respectively. (The VEND_CODE attribute in the PRODUCT table is a foreign key to the VEND_CODE in the VENDOR table.) Given that information, what would be the query output for a MINUS query (VENDOR MINUS PRODUCT) based on these two tables?

In the relational model, SQL operators are ________________ because they operate over entire sets of rows and columns (or tables) at once.

Which of the followings explains the difference between a regular subquery and a correlated subquery?

If you do not specify a join condition when joining tables, the result will be a ______________ or PRODUCT operation.

A ______________ is a subquery that executes once for each row in the outer query; it will run the outer query first, and then it will run the inner subquery once for each row returned in the outer subquery.

A relational view has which of the following characteristics?

A(n) ______________ is a special type of object that generates unique numeric values in ascending or descending order; it can be used to assign values to a primary key field in a table and it provides functionality similar to the Autonumber data type in MS Access.

which of the following is NOT considered an advantage of a stored procedure?

What are the types of results a subquery can return?

The SQL standard prescribes three different types of __________ operations: LEFT, RIGHT, and FULL.

A(n) __________________ is a type of JOIN operation that yields all rows with matching values in the join columns as well as all unmatched rows ( those without matching values in the join columns).

Suppose that a PRODUCT table contains two attributes, PROD_CODE and VEND_CODE. Those two attributes have values of ABC, 125, DEF, 124, GHI, 124, and JKL, 123, respectively. The VENDOR table contains a single attribute, VEND_CODE, with values 123, 124, 125, and 126, respectively. (The VEND_CODE attribute in the PRODUCT table is a foreign key to the VEND_CODE in the VENDOR table.) Given that information, what would be the query output for a UNION query based on these two tables?

Triggers are critical to proper database operation and management in which of the following ways?

A(n) ________ is a virtual table based on a SELECT query.

Suppose that you have two tables, EMPLOYEE and EMPLOYEE_1. The EMPLOYEE table contains the records for three employees: Alice Cordoza, John Cretchakov, and Anne McDonald. The EMPLOYEE_1 table contains the records for employees John Cretchakov and Mary Chen. Given that information, what is the query output for the UNION ALL query?

The ______________________ will yield all rows with matching values in the join columns, plus all of the unmatched rows from the right table.

Use the following scenario for questions from this chapter:

You have been given a database for a small charity used to track donations made to it. It has the following structure:

and the following sample data in the tables:

Donor

ReceiptType

Fund

Receipt

The client wants a listing of donor id, last name, first name, receipt date, type, and amount for all receipts greater than $100.00. The client wants the result sorted by donor last name, first name, and the donation date. The query result from the sample data would look like:

Fill in the blanks of the SQL Statement:

         Donor.          , Donor_LastName, Donor_FirstName, Receipt_Date, Receipt.ReceiptType_Id, Receipt_Amount         Receipt                             Receipt.Donor_Id =                   Receipt_Amount          100.00                      Donor_LastName, Donor_FirstName, Receipt_Date;

Fill in the blanks with words that would best complete the passage.

from

donor.donor_id 

select

donor

where

and

order

by 

donor_id

,

The problems for this chapter use a database for a simple department store that sells items to customers and wants to keep track of the invoices, the selling price (if an item is on sale), and the sales tax (7%) to be collected on some items. Every customer and invoice are assigned unique numbers. All items have a Universal Product Code (UPC) number and bar-code assigned to each unique item. Food and non-carbonated beverages are not taxed, but clothing, home goods, and most other items are.

The structure of the tables are described in the following crows foot ERD:

Sample Data for the tables follow:

Customer

ItemType

ItemSize

Item

Invoice

InvoiceDetail

Suppose that we have a second table with vendor information (sample is below) in it and that we want to create a single telephone directory with both vendor and customer information in it.

The phone directory should contain the state, a name column with either the customer last name and first name concatenated with a comma or the vendor company name, city, and phone number. Output should be sorted by state then by name. Your results should look like:

Fill in the blanks (remember a blank, drop "blank" as answer)

SELECT          ,          ,          ,           FROM ( SELECT          || ', ' || Customer_FirstName AS Name, Customer_City                    , Customer_State AS State, Customer_Phone AS Phone FROM Customer                     SELECT Vendor_CompanyName AS Name, Vendor_City AS City, Vendor_State AS State, Vendor_Phone AS Phone FROM Vendor          )                  State, Name;

Fill in the blanks with words that would best complete the passage.

blank

Phone

city

City

Customer_LastName

blank

Name

AS

BY

UNION

State

ORDER

The problems for this chapter use a database for a simple department store that sells items to customers and wants to keep track of the invoices, the selling price (if an item is on sale), and the sales tax (7%) to be collected on some items. Every customer and invoice are assigned unique numbers. All items have a Universal Product Code (UPC) number and bar-code assigned to each unique item. Food and non-carbonated beverages are not taxed, but clothing, home goods, and most other items are.

The structure of the tables are described in the following crows foot ERD:

Sample Data for the tables follow:

Customer

ItemType

ItemSize

Item

Invoice

InvoiceDetail

You have been tasked to generate a report from the database using a single SQL statement to do the following:

List all items with the number of invoices that the items have been on and the total of the sales of that item. Display in order by type, description, and size.

Your generated output should look like:

Fill in the blanks (remember a blank, drop "blank" as answer)

SELECT Item.UPC, Item.Item_Description, Item.ItemType_Id, Item.ItemSize_Id, COUNT(Invoice.Invoice_Number) AS Invoice_Count, SUM(InvoiceDetail.Detail_Quantity) AS Total_Sales         FROM item                 InvoiceDetail ON item.         =          .UPC                  Invoice ON          .Invoice_Number = InvoiceDetail.          GROUP BY Item.UPC ORDER BY Item.ItemType_id, Item.Item_Description, Item.ItemSize_Id;

Fill in the blanks with words that would best complete the passage.

InvoiceDetail

LEFT

JOIN

blank

UPC

LEFT

Invoice

Invoice_Number

JOIN

Which of the following is the data dictionary's function in database design?

In the decentralized conceptual database design approach, the aggregation process requires the lead designer to assemble a single model where which of the following aggregation problems must be addressed?

______________ design begins by identifying the different entity types and the definition of each entity's attributes.

_______________ is the last stage in the database design process.

Which conceptual database design is best suited to relatively small and simple databases that lend themselves well to a bird's eye view of the entire database and may be designed by a single person or by a small and informally constituted design team?

A(n) ________________________ is a system that provides for data collection, storage, and retrieval; facilitates the transformation of data into information; and manages both data and information. It is composed of hardware, the DBMS and other software, database(s), people, and procedures.

____________are narrative descriptions of the business policies, procedures, or principles that are derived from a detailed description of operations.

The DBLC is composed of _____ phases.

Business rules are particularly valuable to database designers, because they help define which of the following?

The _________________ goal is to design an enterprise-wide database that is based on a specific data model but independent of physical-level details.

Which of the following is NOT a step performed in the physical design stage in the database design process?

Which of the following is established during the systems design phase, in which the designer completes the design of all required system processes?

Which of the following is established during the systems design phase, in which the designer completes the design of all required system processes?

The conceptual design is composed of _____ steps.

Ultimately, the purpose of an _____________________ is to facilitate good decision making by making relevant and timely information available to the decision makers.

Which conceptual database design is best when company operations are spread across multiple operational sites or when the database has multiple entities that are subject to complex relations?

SDLC is the acronym that is used to label the _______________________________.

A(n) ______________________ backup of the database creates a backup of only those database objects that have changed since the last full backup.

Which of the following shows how systems analysis fits into a discussion about information systems?

DBLC is the acronym that is used to label the _______________________________.

The SDLC is composed of _____ phases.

Which of the following is NOT a step performed in the logical design stage in the database design process?

A(n) _____________ is the use of different names to identify the same object, such as an entity, an attribute, or a relationship.

Database design must yield a database that does which of the following?

__________ design first defines the required attributes and then groups the attributes to form entities.

The ___________________ specifies that all the data defined in the data model are actually required to fit present and expected future data requirements.

Which of the following is NOT one of the six (6) steps identified as part of the ER model verification process?

How many steps are required in the development of the conceptual model using an ER diagram?

Which of the following is NOT an important factor in the selection of a DBMS software product?

2.Each of the following activities are commonly performed during the implementation of the Database Life Cycle (DBLC). Fill in the blank, before each activity, with the phase number of the DBLS that this activity would normally be performed.

DBLC Task Numbers: 1. Database initial study 2. Database design 3. Implementation and loading 4. Testing and evaluation 5. Operation 6. Maintenance and evolution

 Load the initial values into the tables Finish user documentation Adding additional tables, attributes, and indexes Attempt to gain unauthorized access to the data Interview management Convert existing data Study the competition's database Plan how to grant different levels of access to different user groups Install the database Train users Changing constraints to match changes in business rules Define budget and scope Select a DBMS software solution Draw a logical ERD Performing software patches to the DBMS Create the database Understand how this database will connect to other databases in the organization Develop a Conceptual Model Make sure application software updates the database Regular security audits Define objectives Create a detailed model that can be physically implemented

Top of Form

Bottom of Form

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question