CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Database
‣
Data Models into Database Designs
Comments
Question
In a 1:1 relationship, the foreign key is placed in:
Options
A. either table without specifying parent and child tables.
B. the parent table.
C. the child table.
D. either the parent table or the child table.
Correct Answer
either table without specifying parent and child tables.
Data Models into Database Designs problems
Search Results
1. A primary key should be defined as:
Options
A. NULL.
B. NOT NULL.
C. Either of the above can be used.
D. None of the above are correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: NOT NULL.
2. Which of the following situation requires the use of ID-dependent entities?
Options
A. Association relationships only
B. Multivalued attributes only
C. Archetype/instance relationships only
D. All of the above use ID dependent entities
Show Answer
Scratch Pad
Discuss
Correct Answer: All of the above use ID dependent entities
3. Each entity is represented as a(n):
Options
A. tuple.
B. table.
C. attribute.
D. file.
Show Answer
Scratch Pad
Discuss
Correct Answer: table.
4. The identifier of an entity will become the ________ of the new table.
Options
A. foreign key
B. main attribute
C. primary key
D. identity key
Show Answer
Scratch Pad
Discuss
Correct Answer: primary key
5. Which of the following column properties would be used to specify that cells in a column must be immediately filled with a monetary value of $10,000?
Options
A. Null status
B. Data type
C. Default value
D. Data constraints
Show Answer
Scratch Pad
Discuss
Correct Answer: Default value
6. In a 1:N relationship, the foreign key is placed in:
Options
A. either table without specifying parent and child tables.
B. the parent table.
C. the child table.
D. either the parent table or the child table.
Show Answer
Scratch Pad
Discuss
Correct Answer: the child table.
7. What SQL command can be used to add columns to a table?
Options
A. MODIFY TABLE
TableName
ADD COLUMN
ColumnName
B. MODIFY TABLE
TableName
ADD
ColumnName
C. ALTER TABLE
TableName
ADD COLUMN
ColumnName
D. ALTER TABLE
TableName
ADD
ColumnName
Show Answer
Scratch Pad
Discuss
Correct Answer: ALTER TABLE
TableName
ADD
ColumnName
8. The NOT EXISTS keyword will be true if:
Options
A. any row in the subquery meets the condition.
B. all rows in the subquery fail the condition.
C. both of these two conditions are met.
D. neither of these two conditions is met.
Show Answer
Scratch Pad
Discuss
Correct Answer: all rows in the subquery fail the condition.
9. A regular subquery can be processed:
Options
A. from the top down.
B. from the bottom up.
C. by nesting.
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: from the bottom up.
10. How can you find rows that do not match some specified condition?
Options
A. EXISTS
B. Double use of NOT EXISTS
C. NOT EXISTS
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: Double use of NOT EXISTS
Comments
There are no comments.
Enter a new Comment
Save
More in Database:
Advanced SQL
Data and Database Administration
Data Modeling with ER Model
Data Models into Database Designs
Data Warehousing
Database Design Using Normalization
Database Processing for BIS
Database Redesign
Distributed Databases
ER Model and Business Rules
Introduction to Database
Introduction to SQL
JDBC, Java Server Pages, and MySQL
Logical Database Design
Managing Databases with Oracle
Managing Multiuser Databases
Modeling Data in the Organization
Object-Oriented Data Modeling
Object-Oriented Database
ODBC, OLE DB, ADO, and ASP
Physical Database Design
SQL for Database Construction
SQL Server 2000
The Client-Server Database
The Database Development Process
The Database Environment
The Internet Database Environment
The Relational Model and Normalization
XML and ADO.NET