CuriousTab
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 Clerk
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Database
‣
SQL for Database Construction
See What Others Are Saying!
Question
SQL views can be used to hide:
Options
A. columns and rows only.
B. complicated SQL syntax only.
C. both of the above can be hidden by an SQL view.
D. None of the above is correct.
Correct Answer
both of the above can be hidden by an SQL view.
More questions
1. A good identifier is which of the following?
Options
A. One that can change over time
B. Can be null
C. One that is unique
D. Be intelligent
Show Answer
Scratch Pad
Discuss
Correct Answer: One that is unique
2. Which of the following conditions should exist if you want to convert a relationship to an associative entity?
Options
A. Some of the relationships for the participating entities are "many".
B. The resulting associative entity has an independent meaning.
C. The resulting associative entity has no attributes.
D. All of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: The resulting associative entity has an independent meaning.
3. Each answer below shows example data from a table. Which answer is an example of the multivalue, multicolumn problem?
Options
A. Three columns have the values 534-2435, 534-7867, and 546-2356 in the same row.
B. Three rows have the values Brown Small Chair, Small Chair Brown, and Small Brown Chair in the same column.
C. Three rows have the values Brown, NULL, and Blue in the same column.
D. One row has the value "He is interested in a Silver Porsche from the years 1978-1988" in a column.
Show Answer
Scratch Pad
Discuss
Correct Answer: Three columns have the values 534-2435, 534-7867, and 546-2356 in the same row.
4. The result of a SQL SELECT statement is a(n) ________ .
Options
A. report
B. form
C. file
D. table
Show Answer
Scratch Pad
Discuss
Correct Answer: table
5. Each answer below shows example data from a table. Which answer is an example of the missing values problem?
Options
A. Three columns have the values 534-2435, 534-7867, and 546-2356 in the same row.
B. Three rows have the values Brown Small Chair, Small Chair Brown, and Small Brown Chair in the same column.
C. Three rows have the values Brown, NULL, and Blue in the same column.
D. One row has the value "He is interested in a Silver Porsche from the years 1978-1988" in a column.
Show Answer
Scratch Pad
Discuss
Correct Answer: Three rows have the values Brown, NULL, and Blue in the same column.
6. An abstract class is which of the following?
Options
A. A class that has direct instances, but whose descendants may have direct instances.
B. A class that has no direct instances, but whose descendants may have direct instances.
C. A class that has direct instances, but whose descendants may not have direct instances.
D. A class that has no direct instances, but whose descendants may not have direct instances
Show Answer
Scratch Pad
Discuss
Correct Answer: A class that has no direct instances, but whose descendants may have direct instances.
7. Which constraint requires that the binary relationship indicate all combinations that must appear in the ternary relationship?
Options
A. MUST COVER
B. MUST NOT
C. Both of the above.
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: MUST COVER
8. To drop a column that is used as a foreign key, first:
Options
A. drop the primary key.
B. drop the table containing the foreign key..
C. drop the foreign key constraint.
D. All of the above must be done.
Show Answer
Scratch Pad
Discuss
Correct Answer: drop the foreign key constraint.
9. The lost update problem is when User A reads data that have been processed by a portion of a transaction from User B.
Options
A. True
B. False
Show Answer
Scratch Pad
Discuss
Correct Answer: False
10. 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.
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