For relation R where primary key contains multiple attributes,no non-key attribute should be functionally dependent on a part of the primary key. This relation R is at least in
A. 1NF
B.2NF
C.3NF
D.BCNF
第1题:
Which of the following conditions will make a relation that is in first normal form. to be in second normal form?
Ⅰ.every non-key attribute is functionally dependent on the full set of primary key attributes.
Ⅱ.no non-key attributes exist in the relation.
Ⅲ.the primary key consists of only one attribute.
A.Ⅰ only
B.Ⅰ and Ⅱ only
C.Ⅰ and Ⅲ only
D.any of them
第2题:
Let R and S be the relation respectively: Relation R: A B C Relation S: B C D 1 2 3 2 3 4 6 7 8 2 3 5 The number of tuplesthat the result of the expression R ∞ S (Here is the natural join of relations R and S) is
A.3
B.4
C.6
D.9
第3题:
Let R and S be the relation respectively: Relation R:A B C Relation S:B C D 1 2 3 2 3 4 6 7 8 2 3 5 9 7 8 7 8 1 The number of tuples that the result of the expression R ∞ S( Here is the natural join of relations R and S)is(69).
A.1
B.4
C.7
D.10
第4题:
A.an attribute or a set of attributes with a unique value for each tuple of a relation
B.a set of attributes referring to another relation in the database
C.an attribute or a set of attributes that is potentially the primary key of a relation
D.an attribute or a set of attributes that is potentially(有潜力地)the super key(超键)of a relation
第5题:
Which values are NOT permitted to be part of the primary key?
A.alpha-numeric characters
B.punctuation
C.special characters
D.NULL
第6题:
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named named Dworks in the instance. The Dworks table has a table named BillDetails which has a clustered primary key named BillId on the BillId column. The BillDetails table has a single XML column named GoodsDetails. The XML column has an XML index and XML data are stored in this XML column. A new column named GoodsID is added to the BillDetails table. GoodsID must be included in the primary key. So what action should you perform to achieve this goal?()
第7题:
Which two statements are true about the primary key constraint in a table? ()
第8题:
Where can you add your own PL/SQL code in relation-handling triggers?()
第9题:
Which statements are correct regarding indexes? ()
第10题:
ALTER TABLE students ADD PRIMARY KEY _ id;
ALTER TABLE students ADD CONSTRAINT PRIMARY KEY (student_id);
ALTER TABLE students ADD CONSTRAINT stud_id_pk PRIMARY KEY student_id;
ALTER TABLE students ADD CONSTRAINT stud_id_pk PRIMARY KEY (student_id);
ALTER TABLE students MODIFY CONSTRAINT stud_id_pk PRIMARY KEY (student_id);
第11题:
It is not possible to disable the primary key constraint.
It is possible to have more than one primary key constraint in a single table.
The primary key constraint can be referred by only one foreign key constraint.
The primary key constraint can be imposed by combining more than one column.
The non-deferrable primary key constraint creates an unique index on the primary key column if it is not already indexed.
第12题:
The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or a UNIQUE constraint that exists on T2.
The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T1 or a UNIQUE constraint that exists on T1.
The list of column names in the FOREIGN KEY clause must be identical to the list of column names in the primary key of T2 or a UNIQUE constraint that exists on T2.
The list of column names in the FOREIGN KEY clause must be identical to the list of column names in the primary key of T1 or a UNIQUE constraint that exists on T1.
第13题:
5 (a) Compare and contrast the responsibilities of management, and of auditors, in relation to the assessment of
going concern. You should include a description of the procedures used in this assessment where relevant.
(7 marks)
第14题:
Suppose we have the relation schema R(A,B,C,D)with functional dependencies;F{A→B,B→C,C→D,D→A},then R(A,B,C,D)at least is in
A.1NF
B.2NF
C.3NF
D.BCNF
第15题:
For relation where primary key contains multiple attributes, no non-key attribute should be functionally dependent on a part of primary key. This relation R is at least in(66).
A.3NF
B.2NF
C.INF
D.BCNF
第16题:
What operation on relations R and S produces the relation shown below?
A.Union
B.Difference
C.Intersection
D.Division
第17题:
为表TEST中ID列添加主键约束的语法是()
第18题:
When defining a referential constraint between the parent table T2 and the dependent table T1, which of the following is true?()
第19题:
he data blocks in your form module are based on object tables. How would you create a master-detail relationship between two of these blocks?()
第20题:
You need to modify the STUDENTS table to add a primary key on the STUDENT_ID column. The table is currently empty.Which statement accomplishes this task?()
第21题:
In the COURSE_ENROLLMENT form module, you define a master-detail relation between the COURSES_OFFERED data block and the STUDENT data block, respectively. To implement block coordination, which statement must be true?()
第22题:
Use the Data Block Wizard and base the relation on a REF pointer.
In the Object Navigator, select the Relation node under the master block and click the Create icon. Build the relation manually and coordinate the blocks using triggers.
Use the Data Block Wizard, and base the relation on the primary key-foreign key relationship in the database.
This task is not possible because master-detail relations can be implemented only for blocks based on relational tables.
第23题:
The Enforce Primary Key property on the STUDENT block is set to Yes.
The Alias property on the COURSES_OFFERED block is set to Student.
The Copy Value from item property on the foreign key item in the STUDENT blocks is set to the primary key item of the COURSES_OFFERED block.
The Synchronize with item property on the foreign key item in the STUDENT block is set to the primary key item of the COURSES_OFFERED block.