Exam 2025/2026 with Verified Rationalized Answers
100% Graded A+
1. Schema: The definition of how data in a database will be organized.
C C C C C C C C C C C
2. - Create
C
- Read
- Update
- Delete: The basis of interacting with databases can be defined using the CRUDacrony
C C C C C C C C C C C C C
m. What does CRUD stand for?
C C C C C
3. DATE: YYYY-MM-DD C
DATETIME: YYYY-MM- C
DD HH:MM:SS: What is the DATE datatype syntax?What is the DATETIME datatype sy
C C C C C C C C C C C C C
ntax?
4. It will have 3 numbers before the decimal and 2 after.: What does DECI-
C C C C C C C C C C C C C
MAL(3,2) indicate?
C C
5. Stored Procedures: a series of commands stored on the database. This allowsthe reu
C C C C C C C C C C C C C
se of long or detailed queries instead of writing them for each use. It also provides a safe
C C C C C C C C C C C C C C C C C C
way to deal with sensitive data, especially with those unfamiliar withSQL syntax.
C C C C C C C C C C C C
6. Data definition language (DDL): involves instructing the DBMS software onwhat ta
C C C C C C C C C C C
bles will be in the database, what attributes will be in the tables, which attributes will
C C C C C C C C C C C C C C C
C be indexed, and so forth.
C C C C
7. data manipulation languages (DMLs): refers to the four basic operations that can and
C C C C C C C C C C C C
1C/C12
,must be performed on data stored in any DBMS (or in any other data storagearrangement, fo
C C C C C C C C C C C C C C C C C
r that matter): data retrieval, data update, insertion of new records,and deletion of existin
C C C C C C C C C C C C C C
g records.
C
8. SELECT * C
FROM CUSTOMER C
WHERE CUSTNUMB BETWEEN 1 AND 2;: What would the SELECT statementlook like
C C C C C C C C C C C C
C if you use a BETWEEN.
C C C C
9. SELECT * C
FROM CUSTOMER C
WHERE HQCITY IN ('Atlanta', 'Chicago', 'Washington');: What would the SE-
C C C C C C C C C
LECT statement look like if you use a IN.
C C C C C C C C C
10. SELECT * FROM C C C
CUSTOMER
WHERE HQCITY LIKE 'W%';: What would the SELECT statement look like if youuse a LI
C C C C C C C C C C C C C C C
KE.
11. A% - C
The "%" means that any string of characters can follow afterwards.The percent sig
C C C C C C C C C C C C C C
n represents zero or more arbitrary regular characters
C C C C C C C
2C/C12
, A_ - C
C The _ means that there will be exactly one letter following the A. The underscore re
C C C C C C C C C C C C C C C
presents a single arbitrary regular character.: What are the twoways of using the LIKE
C C C C C C C C C C C C C C C
command?
12. The clause can include the term ASC at the end to make ascending explicitor it ca
C C C C C C C C C C C C C C C C
n include DESC for descending order.: The default order for ORDER BYis ascending. Ho
C C C C C C C C C C C C C C
w can you make it descending order?
C C C C C C
13. SELECT AVG/SUM/MIN/MAX/COUNT(Column_Name)FRO C C
M SALES C
WHERE Name = 'Matt';: Command to use AVG/SUM/MIN/MAX/COUNT aggregatefunction
C C C C C C C C C
s?
14. o One is that the tables to be joined must be listed in the FROM clause.o Two i
C C C C C C C C C C C C C C C C C C
s that the join attributes in the tables being joined must be declared
C C C C C C C C C C C C
and matched to each other in the WHERE clause.: There are two specificationsto make
C C C C C C C C C C C C C C C
n the SELECT statement to make a join work.
C C C C C C C C
15. SELECT SPNAME C
FROM SALESPERSON, CUSTOMER C C
WHERE SALESPERSON.SPNUM=CUSTOMER.SPNUM: Example of JOINCAUSE.
C C C C C
16. Dr. CODD: In 1970, Dr. C C C C
of IBM published in Communications of theACM a paper entitled "A Relational Model
C C C C C C C C C C C C C C
of Data for Large Shared Data Banks." This paper marked the beginning of the field of rela
C C C C C C C C C C C C C C C C
tional databases. C
17. CREATE TABLE C
3C/C12