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

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.
• 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,...
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.
All questions in this assignment refer to the “om” database (or Schema) that you will find...
All questions in this assignment 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. You are encouraged to test your SQL statements in Workbench, and please use the ‘tidy’ tool to properly format your SQL before you save it...
This assignment refer to the “om” database (or Schema).      1.Write an INSERT statement that adds this...
This assignment refer to the “om” database (or Schema).      1.Write an INSERT statement that adds this row to the Items table:   a.       Artist:               Newly Added b.       Title:                      Assignment 3 c.        unit_price:         0.0 d.       ID:                          12 2.       Write an UPDATE statement that modifies the row you just added to the Items table. This statement should change the artist column to “RockOn”, and it should use the ID column to identify the row.    3.       Write a DELETE statement that deletes the row you...
For the given database schema. Answer the following questions. Company Database customer(cust_id, name, address) product(product_id, product_name,...
For the given database schema. Answer the following questions. Company Database customer(cust_id, name, address) product(product_id, product_name, price, quantity) transaction(trans_id, cust_id, time_date) product_trans(product_id, trans_id) Identify the primary keys and foreign keys for the relations and specify at least two different types of integrity constraints that would be applicable for different relations given.
Describe the three-schema architecture. Why do we need mappings among schema levels?
Describe the three-schema architecture. Why do we need mappings among schema levels?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT