QUESTIONS WITH ACCURATE SOLUTIONS
1. Describe the significance of the BIGINT data type in SQL and when it
might be used.
BIGINT is a type of string data used for text storage.
BIGINT is used for storing small integer values.
BIGINT is used for storing large integer values that exceed the
range of standard integer types.
BIGINT is used for storing decimal values with high precision.
2. What is the name of the second phase of database design?
Implementation
Physical Design
Logical Design
Analysis
3. Which operator is inclusive, meaning that a query selects a value equal to
either value in the condition along with those in the range of the values?
AND
BETWEEN
OR
NOT
4. The abs() function is used to:
return an array of bytes
return the absolute value of a number.
,return a binary version of a number
,5. Describe the purpose of the Logical Design phase in database design.
The Logical Design phase involves gathering requirements from
users.
The Logical Design phase is concerned with the actual
implementation of the database on hardware.
The Logical Design phase is the final step before database
deployment.
The Logical Design phase focuses on defining the structure of
the database in a way that is independent of physical
considerations.
6. Which SQL command is used to modify data in a database?
SELECT
DELETE
UPDATE
7. What is the purpose of a FULL JOIN in SQL?
To select only matching rows from both tables.
To select all rows from both left and right tables, regardless of
matches.
To select all rows from the left table only.
To select all rows from the right table only.
8. Describe the significance of keywords in SQL statements and how they
contribute to database queries.
Keywords are merely decorative elements in SQL that have no
functional impact.
Keywords are essential components of SQL statements that
define the structure and functionality of database queries.
, Keywords are optional parts of SQL statements that can be
omitted.
Keywords are used to name database tables and columns only.
9. If a developer wants to explain a complex SQL query to their team
without affecting the execution of the query, what should they include in
the SQL code?
Additional SQL commands
Primary keys
Data types
Comments
10. Which of the following is an open source document-oriented NoSQL
DBMS product?
DB2
SQL Server
MongoDB
Access
11. If a database administrator wants to restrict a user's access to certain
tables, which SQL sublanguage should they use?
Structured Query Language (SQL)
Data Definition Language (DDL)
Data Control Language (DCL)
Data Manipulation Language (DML)