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
A reason for using an SQL view to hide columns is:
Options
A. to simplify a result only.
B. to prevent the display of sensitive data only.
C. to accomplish both of the above.
D. None of the above are reasons for using an SQL view.
Correct Answer
to accomplish both of the above.
SQL for Database Construction problems
Search Results
1. The SQL command to create a table is:
Options
A. MAKE TABLE.
B. ALTER TABLE.
C. DEFINE TABLE.
D. CREATE TABLE.
Show Answer
Scratch Pad
Discuss
Correct Answer: CREATE TABLE.
2. What is an advantage of placing computations in SQL views?
Options
A. To save users from having to write an expression.
B. To ensure that the results are consistent.
C. To accomplish both of the above.
D. None of the above is correct - computations cannot be placed in a view.
Show Answer
Scratch Pad
Discuss
Correct Answer: To accomplish both of the above.
3. Which is NOT one of the most common types of SQL CHECK constraints?
Options
A. System date
B. Range checks
C. Lists of values
D. Comparing one column value to another within the same table
Show Answer
Scratch Pad
Discuss
Correct Answer: System date
4. The SQL ALTER statement can be used to:
Options
A. change the table structure.
B. change the table data.
C. add rows to the table.
D. delete rows from the table.
Show Answer
Scratch Pad
Discuss
Correct Answer: change the table structure.
5. When using the SQL INSERT statement:
Options
A. rows can be modified according to criteria only.
B. rows cannot be copied in mass from one table to another only.
C. rows can be inserted into a table only one at a time only.
D. rows can either be inserted into a table one at a time or in groups.
Show Answer
Scratch Pad
Discuss
Correct Answer: rows can either be inserted into a table one at a time or in groups.
6. What SQL structure is used to limit column values of a table?
Options
A. The LIMIT constraint
B. The CHECK constraint
C. The VALUE constraint
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: The CHECK constraint
7. Which of the following locks the item from change but not from read?
Options
A. Implicit lock
B. Explicit lock
C. Exclusive lock
D. Shared lock
Show Answer
Scratch Pad
Discuss
Correct Answer: Shared lock
8. What is the overall responsibility of the DBA?
Options
A. Facilitate the development and use of the database
B. Create and populate tables
C. Development, operation, and maintenance of the database and its applications
D. Both the first and third answers above are correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: Both the first and third answers above are correct.
9. Which of the following locks the item from access of any type?
Options
A. Implicit lock
B. Explicit lock
C. Exclusive lock
D. Shared lock
Show Answer
Scratch Pad
Discuss
Correct Answer: Exclusive lock
10. Which of the following allows dirty reads, nonrepeatable reads and phantom reads to occur?
Options
A. Read committed
B. Read uncommitted
C. Repeatable read
D. Serializable
Show Answer
Scratch Pad
Discuss
Correct Answer: Read uncommitted
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