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
‣
SQL for Database Construction
Comments
Question
What is not an advantage of stored procedures?
Options
A. Greater security
B. SQL can be optimized
C. Code sharing
D. Increased network traffic
Correct Answer
Increased network traffic
SQL for Database Construction problems
Search Results
1. Which of the following refers to an entity in which the identifier of one entity includes the identifier of another entity?
Options
A. Weak entity
B. Strong entity
C. ID-dependent entity
D. ID-independent entity
Show Answer
Scratch Pad
Discuss
Correct Answer: ID-dependent entity
2. In which of the following is a single-entity instance of one type of related to a single-entity instance of another type?
Options
A. One-to-One Relationship
B. One-to-Many Relationship
C. Many-to-Many Relationship
D. Composite Relationship
Show Answer
Scratch Pad
Discuss
Correct Answer: One-to-One Relationship
3. In a one-to-many relationship, the entity that is on the many side of the relationship is called a(n) ________ entity.
Options
A. parent
B. child
C. instance
D. subtype
Show Answer
Scratch Pad
Discuss
Correct Answer: child
4. Which of the following refers to something that can be identified in the users' work environment, something that the users want to track?
Options
A. Entity
B. Attribute
C. Identifier
D. Relationship
Show Answer
Scratch Pad
Discuss
Correct Answer: Entity
5. Which of the following indicates the minimum number of entities that must be involved in a relationship?
Options
A. Minimum cardinality
B. Maximum cardinality
C. ERD
D. Greater Entity Count (GEC)
Show Answer
Scratch Pad
Discuss
Correct Answer: Minimum cardinality
6. The SQL statement to create a view is:
Options
A. CREATE VIEW.
B. MAKE VIEW.
C. SELECT VIEW.
D. INSERT VIEW.
Show Answer
Scratch Pad
Discuss
Correct Answer: CREATE VIEW.
7. The DROP TABLE statement:
Options
A. deletes the table structure only.
B. deletes the table structure along with the table data.
C. works whether or not referential integrity constraints would be violated.
D. is not an SQL statement.
Show Answer
Scratch Pad
Discuss
Correct Answer: deletes the table structure along with the table data.
8. A ________ is a program that performs some common action on database data and that is stored in the database.
Options
A. trigger
B. stored procedure
C. pseudofile
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: stored procedure
9. Which of the following is NOT a type of SQL constraint?
Options
A. PRIMARY KEY
B. FOREIGN KEY
C. ALTERNATE KEY
D. UNIQUE
Show Answer
Scratch Pad
Discuss
Correct Answer: ALTERNATE KEY
10. What is an SQL virtual table that is constructed from other tables?
Options
A. Just another table
B. A view
C. A relation
D. Query results
Show Answer
Scratch Pad
Discuss
Correct Answer: A view
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