Translate the relational algebra expression in (b) into an equivalent expression using pushing of selections and projections.

Suppose a database has the following schema:
Trip(fromAddrId: INTEGER, toAddrId: INTEGER, date: DATE)
Address(id: INTEGER, street: STRING, townState: STRING)


Computer Science & Information Technology

You might also like to view...

Give the values of the List attributes after each of the following operations.

``` List ex = new LinkedList(); ex.add("Pooh"); ex.add(1, "Tigger"); ex.add(1, "Piglet"); ex.add(0, "Owl"); List exView = ex.sublist(1,4); exView.clear(); ```

Computer Science & Information Technology

In PHP, an e-mail message is sent using the ____________________ function.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

In PKI, the CA periodically distributes a(n) _________ to all users that identifies all revoked certificates.

A. CRL B. RA C. MAC D. RDL

Computer Science & Information Technology

Consider the following enterprise, which includes books, authors and publishers. Authors are people with normal attributes, like name, date of birth, etc., but in addition they wrote one or more books. A book has the usual attributes, such as title, ISBN, publication date, etc. Publishers are companies that publish books. They have an address, phone numbers (typically more than one), name, etc.

Consider the following enterprise, which includes books, authors and publishers. Authors are people with normal attributes, like name, date of birth, etc., but in addition they wrote one or more books. A book has the usual attributes, such as title, ISBN, publication date, etc. Publishers are companies that publish books. They have an address, phone numbers (typically more than one), name, etc. (a) Represent the above as an E-R diagram; include all relevant constraints. (b)Translate the above diagram into the relational model by supplying the appropriate CREATE TABLE statements. Note that ISBN is a 10-digit string (which can have leading zeros), sex can have only two values, 'M' or 'F', and a phone number is a 10 digit number that never starts with a zero. Specify these as domains. Specify all the key and foreign key constraints. Try to preserve as many participation constraints as possible. List all the participation constraints that are present in the E-R diagram, but not in its translation to SQL.

Computer Science & Information Technology