CIT 225 Final Actual EXAM Newest 2025/2026
With Complete Questions And Correct Answers
|Already Graded A+||Brand New Version!|
When you create a script for creating a database,
- you can create the tables in whatever sequence you prefer
- you need to create the referred to tables before you create the tables
that refer to them
- you need to create the indexes before you create the tables that they
apply to
- you need to code the primary key column first in each table -
ANSWER-you need to create the referred to tables before you create the
tables that refer to them
To use a sequence in an INSERT statement, you
- use the NEXTVAL pseudo column for the sequence in the VALUES
list for a row
- use the CURRVAL + 1 expression for the sequence in the VALUES list
for a row
- code the sequence name in the VALUES list for a row
, 2|Page
- code the sequence name + 1 in the VALUES list for a row - ANSWER-
use the NEXTVAL pseudo column for the sequence in the VALUES list
for a row
All of the aggregate functions ignore null values, except for the
______________________________ function. - ANSWER-Count(*)
By default, all duplicate values are included in the aggregate calculation,
unless you specify the ___________________________ keyword. -
ANSWER-distinct
Write an aggregate expression to find the oldest date in the invoice_date
column: - ANSWER-min(invoice_date)
Write an aggregate expression for the number of entries in the
vendor_name column: - ANSWER-count(vendor_name)
The six clauses of the SELECT statement must be coded in the
following order:
- SELECT, FROM, GROUP BY, HAVING, WHERE, ORDER BY
- SELECT, FROM, WHERE, ORDER BY, GROUP BY, HAVING
- SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY
- SELECT, FROM, ORDER BY, WHERE, GROUP BY, HAVING -
ANSWER-SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER
BY