Question

In: Computer Science

When is the conceptual schema of a database changed?- if we update data in the database...

When is the conceptual schema of a database changed?-

if we update data in the database

-if we alter the logical structure of the database

-if we retrieve data from the database

-if we alter the storage structure of the database

Which of the following has the same meaning as the outer union?

Group of answer choices

-the left outer (natural) join

-the right outer (natural) join

-the full outer (natural) join

-the inner (natural) join

Assume {A, B} is the primary key of relation schema R(A, B, C). Which of the following statements is NOT true:

Group of answer choices

{ A, B} must be unique

{A, B} must be a candidate key of R

A or B may have a NULL value

{A, B} must be a superkey

Which of the following examples is NOT an integrity constraint on a database:

Group of answer choices

A student name must be a string with a length ≤ 30

Database user ‘James’ cannot update data in the database

If two students have the same birthday, their ages must be the same

Every student must have a home address

Which of the following statements is true?

Group of answer choices

A foreign key may reference an attribute in its own relation

A relation can have only one foreign key

A foreign key cannot have a NULL value

A foreign key must reference the primary key of the referenced relation

The data dictionary in a database system is used to keep:

Group of answer choices

database schema

database instance

temporary data

final query result

Entities for a weak entity type can be uniquely identified by:

Group of answer choices

all attributes together of the weak entity type

the partial key of the weak entity type

a key of the owner entity type

the combination of (B) and (C)

Solutions

Expert Solution

Ans 6:

The data dictionary is used to keep

A. Database schema

Reason :

It's used to store metadata , i.e. data about the database and hence data schema is correct.

Ans 7:

A weak entity can be identified by

A. all attributes together of the weak entity type

Reason : a weak doesn't have primary key so the only optionto identify it is through it's attributes.


Related Solutions

We use the WMCRM database and here is the summary of the database schema (where schema...
We use the WMCRM database and here is the summary of the database schema (where schema is used in its meaning of a summary of the database structure): VEHICLE (InventoryID, Model, VIN) SALESPERSON (NickName, LastName, FirstName, HireDate, WageRate, CommissionRate, OfficePhone, EmailAddress, InventoryID) CUSTOMER (CustomerID, LastName, FirstName, Address, City, State, ZIP, EmailAddress, NickName) PHONE_NUMBER (CustomerID, PhoneNumber, PhoneType) CONTACT(ContactID, CustomerID,ContactDate,ContactType,Remarks) Where InventoryID in SALESPERSON must exist in InventoryID in VEHICLE NickName in CUSTOMER must exist in NickName in SALESPERSON CustomerID in PHONE_NUMBER...
The schema for the Academics database is as follows. Understanding this schema is necessary to answer...
The schema for the Academics database is as follows. Understanding this schema is necessary to answer the questions in Part B. DEPARTMENT(deptnum, descrip, instname, deptname, state, postcode) ACADEMIC(acnum, deptnum*, famname, givename, initials, title) PAPER(panum, title) AUTHOR(panum*, acnum*) FIELD(fieldnum, id, title) INTEREST(fieldnum*, acnum*, descrip) The semantics of most attributes are self-explanatory. For each relation, the primary key is underlined and any foreign keys are denoted by an asterisk (*). Some additional information for relations is given below: DEPARTMENT: Each academic department...
In 175 words: Explain two differences between an External Schema and a Conceptual Schema. Provide an...
In 175 words: Explain two differences between an External Schema and a Conceptual Schema. Provide an example of how each schema type would be used to support a business case for a database.
Data Modelling is the primary step in the process of database design. Compare and contrast Conceptual...
Data Modelling is the primary step in the process of database design. Compare and contrast Conceptual data model versus Physical data model. Illustrates with help of example to list down data (entities), relationship among data and constraints on data.
Data Modelling is the primary step in the process of database design. Compare and contrast Conceptual...
Data Modelling is the primary step in the process of database design. Compare and contrast Conceptual data model versus Physical data model. Illustrates with help of example to list down data (entities), relationship among data and constraints on data.
• Relational Schema Create a relational database schema consisting of the four relation schemas representing various...
• Relational Schema Create a relational database schema consisting of the four relation schemas representing various entities recorded by a furniture company.   Write CREATE TABLE statements for the following four relation schemas. Define all necessary attributes, domains, and primary and foreign keys. Customer(CustomerID, Name, Address) FullOrder(OrderID, OrderDate, CustomerID) Request(OrderID, ProductID, Quantity) Product(ProductID, Description, Finish, Price) You should assume the following: Each CustomerID is a number with at most three digits, each OrderID is a number with at most five digits,...
[Q.4] Answer the following questions You are invited as a database architect to develop database schema...
[Q.4] Answer the following questions You are invited as a database architect to develop database schema for maintaining patient information for the NYU medical group (make necessary assumptions for the data requirements if needed). Each physician in the Lehman medical group is uniquely identified by physicianID o Each physician must have first name, and last name, and phone number Each patient is identified by patientID o Each patient must have first name, and last name, phone number, and insurance card...
Need an example of a database schema for an online or ecommerce store and an explanation...
Need an example of a database schema for an online or ecommerce store and an explanation of the how it functions
This refer to the “om” database (or Schema) that you will find in your MySQL Workbench...
This refer to the “om” database (or Schema) that you will find in your MySQL Workbench program if you have run the sample database install script. Please save all of your answers in one script (.sql) or type all your answers into Notepad++ and submit them as a single .sql file. Please test your SQL statements in Workbench 1.       Using an INNER JOIN, select the order_id, order_date, shipped_date, fname, and customer_phone from the orders and customers tables. The fname is a...
Discuss the three-schema architecture and its benefits for database development and design.
Discuss the three-schema architecture and its benefits for database development and design.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT