Answers Verified Solutions.
SELECT - Correct Answers column selection, TOP function, case expressions
FROM - Correct Answers Table selection
WHERE - Correct Answers Predicate logic
operators
BETWEEN
IN, NOT IN
Wild Card (like)
Null (IS, IS NOT)
GROUP BY - Correct Answers All fields that aren't apart of an aggregate function need to be in the group
by
HAVING - Correct Answersallows you to include, or eliminate entire groups that don't meet your
aggregate function criteria
Predicate Logic - Correct Answersmathematical concept based on something evaluating to True or False
GROUP BY/HAVING - Correct Answerspredicate logic for rows versus groups
CONCAT - Correct Answerscombine fields together
CONCATE (FirstName, LastName) AS FullName
RTRIM, LTRIM - Correct Answersremove leading spaces
, CONCATE(RTRIM(FirstName), ' ', LastName) as FullName
CAST - Correct AnswersChange the datatype of a column/attribute
CAST (CashPrize as Integer) As 'Cash Prize'
FORMAT - Correct Answersadd a currency look to a column, add formatting to a column
FORMAT (CashPrize, 'C') as "currency'
SUBSTRING - Correct Answersallows you to obtain a portion of a string
SUBSTRING (X, Y, Z)
X = column of string to be parsed
Y = starting position
z = ending position
Inner joins - Correct Answersallows you to access all columns from every table that is joined
FROM STUDENT as S JOIN GYM_LOCKER as G
ON S.StudentID = G>STUDENTID
Outer Joins - Correct Answersthese include null values
left join
right join
full join
Left Join - Correct Answersinclude all rows in left table
FROM AWARD as A LEFT OUTER JOIN STUDENT_AWARD as S
ON A.AwardID = S.AwardID
Right Join - Correct Answersinclude all rows in right table