Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
155Activity
0 of .
Results for:
No results containing your search query
P. 1
Design Final 1

Design Final 1

Ratings:

5.0

(1)
|Views: 25,683|Likes:
Published by Alex
www.hporacle.wordpress.com
www.hporacle.wordpress.com

More info:

Published by: Alex on Nov 30, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/19/2013

pdf

text

original

 
Section 12 Lesson 1(Answer all questions in this section)1. A table must have at leastone candidate key, as well as its primary key. True or False?True
 False
2. Foreign keys must be null. True or False?True
 False
3. The text below is an example of what constraint type: If the number of BOOKS lentto a BORROWER in the LIBRARY exceeds 5, then we must send him/her a letter requesting thereturn of the BOOKS, which will require extra programming to enforce.
 
Entity integrity
 
User 
-
defined integrity
 
Column integrity
 
Referential integrity
 
4. The explanation below is a User Defined integrity rule and must therefore bemanually coded, the Database cannot enforce this rule automatically: A primary key must beunique, and no part of the primary key can be null. True or False?True
 False
Section 12 Lesson 2(Answer all questions in this section)5.
Attributes
 become tables in a database. True or False?True
 False
6. Why would this table name NOT work in an Oracle database?This_year_end+next_year Table names must begin with an alphabetic character 
 
Too long
 
The Plus sign + is not allowed in object names
 
 None of the above
 
This watermark does not appear in the registered version -http://www.clicktoconvert.com
 
7. In a physical data model, a relationship is represented as a combination of: (Choose
Two)(Choose all
correct answers)Column
Primary Key or Unique Key
 
Check Constraint or Unique Key
 
Foreign Key
 
Section 12 Lesson 3(Answer all questions in this section)8.
The Oracle
Database can implement a many to many relationship. You simple create two foreign keys between the two tables. True or False?True
 False
9. What do you create when you transform a many to many relationship from your ER diagram into a physical de
sign?
Unique key constraints
 
Intersection entity
 
Intersection table
 
Two tables with a Foreign key constraints between them
 
Section 12 Lesson 4(Answer all questions in this section)10.
When
translating an arc relationship to a physical design, you must turn the arc relationships intoforeign keys. Assuming you are implementing an Exclusive Design, you must also create twoUnique Key Constraints to ensure the Arc is implemented correctly. True or False?
 
True
 False 
Section 12 Lesson 4(Answer all questions in this section)11. When mapping supertypes,relationships at the supertype level transform as usual. Relationships at subtyp
e level are
implemented as foreign keys, but the foreign key columns all become mandatory. True or False?True
 
This watermark does not appear in the registered version -http://www.clicktoconvert.com
 
 False
Section 13 Lesson 1(Answer all questions in this section)12.
What
command will return data from the database to you?
 FETCH
GET
 SELECT
RETURN
 
13. The _______ clause can be added to a select statement to return a subset of the
data.ANYWHERE
WHICH
 
WHERE
 
EVERY
 
Section 16 Lesson 1
(A
nswer all questions in this section)14.
You want
to create a list of all albums that have been produced by the company. The list should include thetitle of the album, the artist's name, and the date the album was released. The ALBUMS table
includ
es the following columns:ALB_TITLE VARCHAR2(150) NOT NULLALB_ARTIST VARCHAR2(150) NOT NULLALB_DATE DATE NOT NULLWhich statement can you use to retrieve the necessary information?
 
SELECT *FROM albums;SELECT alb_title, alb_artist, alb_datesFROM album;SELECT *FROM album;SELECT alb_title; alb_artist; alb_dateFROM albums;
This watermark does not appear in the registered version -http://www.clicktoconvert.com

Activity (155)

You've already reviewed this. Edit your review.
IoaNa Ioana liked this
1 thousand reads
1 hundred reads
Iulia Neagu liked this
Milotin Andrei liked this
testngk liked this
OrangeTree3 liked this
Radu Negoita liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->