• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

Snhu Dad 220 Actual Exam Script 2025/2026 Questions With Answers Graded A+

Document preview thumbnail
Preview 2 out of 6 pages

SNHU DAD 220 ACTUAL EXAM SCRIPT 2025/2026 QUESTIONS WITH ANSWERS GRADED A+

Content preview

SNHU DAD 220 ACTUAL EXAM SCRIPT 2025/2026
QUESTIONS WITH ANSWERS GRADED A+
✔✔Third normal form - ✔✔All non-key columns depend on the key, the whole key, and
nothing but the key.

✔✔In what situations is redundancy more acceptable? - ✔✔In a database used
primarily for reporting, changes are infrequent and redundancy is acceptable. In fact,
redundancy can be desirable in reporting databases, as processing is faster and
queries are simpler. For this reason, reporting databases may contain tables that, by
design, are not in third normal form.

✔✔Denormalization - ✔✔intentionally introducing redundancy by merging tables.

Denormalization eliminates join queries and therefore improves query performance.

✔✔Aggregate Functions in SQL - ✔✔Used to summarize information from multiple
tuples into a single-tuple summary

✔✔Some common aggregat functions - ✔✔COUNT() - Counts the number of rows
retrieved by a SELECT statement.
MIN() - Finds the minimum value in a group.
MAX() - Finds the maximum value in a group.
SUM() - Sums all the values in a group.
AVG() - Finds the arithmetic mean (average) of all the values in a group.

✔✔GROUP BY clause does what? - ✔✔groups rows with identical values into a set of
summary rows

One or more columns are listed after GROUP BY, separated by commas.
GROUP BY clause returns one row for each group.
Each group may be ordered with the ORDER BY clause.
GROUP BY clause must appear before the ORDER BY clause and after the WHERE
clause (if present).

✔✔What does the numeric function ABS(n) do? - ✔✔Returns the absolute value of n

✔✔What does the numeric function LOG(n) do? - ✔✔REturns the natural logarithm of n

✔✔What does the numeric function POW(x,y) do? - ✔✔Returns x to the power of y

✔✔What does the numeric function RAND() do? - ✔✔Returns a random number
between 0 (inclusive) and 1 (exclusive)

, ✔✔What does the numeric function ROUND(n, d) do? - ✔✔Returns n rounded to d
decimal places

✔✔What does the numeric function SQRT(n) do? - ✔✔returns the square root of n

✔✔What does the string function CONCAT(s1, s2, ...) do? - ✔✔Returns the string that
results from concatenating the string arguments

ex. SELECT CONCAT('Dis','en','gage');
Returns 'Disengage'

✔✔What does the string function LOWER(s) do? - ✔✔Returns the lowercase s

✔✔What does the string function REPLACE(s, from, to) do? - ✔✔Returns the string s
with all occurtences of from replaced with to

ex. SELECT REPLACE("This and that", "and", "or");
returns 'This or that'

✔✔what does the string function SUBSTRING(s, pos, len) do? - ✔✔Returns the
substring from s that starts at position pos and has length len

ex. SELECT SUBSTRING("Boomerang", 1, 4);
returns 'Boom'

✔✔What does the string function TRIM(s) do? - ✔✔returns the string s without leading
and trailing spaces

ex. SELECT TRIM(" test ");
returns 'test'

✔✔What does the string function UPPER(s) do? - ✔✔Returns the uppercase s

✔✔What does the date and time function CURDATE() CURTIME() NOW() do? -
✔✔Returns the current date, time, or date and time in 'YYYY-MM-DD', 'HH:MM:SS',
or'YYYY-MM-DD HH:MM:SS' format

✔✔What does the date and time function DATE(expr) TIME(expr) do? - ✔✔Extracts the
date or time from a date or datetimeexpression expr

ex. SELECT DATE('2013-03-25 22:11:45');
returns '2013-03-25'
SELECT TIME('2013-03-25 22:11:45');
returns '22:11:45'

Document information

Uploaded on
April 15, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EXAMCAFE
3.5
(43)
Sold
299
Followers
11
Items
37014
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions