Murach SQL Server 2012 Chapter 3 Flashcards - Quizlet
Murach SQL Server 2012 Chapter 3 Flashcards - Quizlet
Like
this
study
set? Create a free
Create account
a free
account Maybe later
to save
it.
select, from, where, the correct order of the basic syntax for a select statement
order by (4 clauses)
select retrieves the specified columns from the base table and
stores them in a result set
where filters the rows in the base table; only the rows that match
the search condition are included in the result set
https://quizlet.com/187007168/murachsql2012chapter3flashcards/ 1/4
6/26/2017 MurachSQL2012Chapter3Flashcards|Quizlet
arithmetic, string In the select clause, you can code _____ expressions, _____
expressions, and expressions that include one or more
functions
+ concatenation operation
parameters arguments
arguments parameters
column alias if you want to specify a name other than the same name as
the column in the base table
https://quizlet.com/187007168/murachsql2012chapter3flashcards/ 2/4
6/26/2017 MurachSQL2012Chapter3Flashcards|Quizlet
select Distinct and all are coded immediately after the _______
statement
ORDER BY you should always include an _______ clause when you use
the top keyword
percent if you include _____ in the top clause, the first n percent of
the selected rows are included in the result set
with ties if you include _____ in the top clause, additional rows will be
included if their values match the values of the last row
SELECT TOP 5 write a select statement that includes the top 5 answers
ANSWERS
SELECT TOP 5 write a select statement that includes the top 5 percent of
PERCENT ANSWERS answers
SELECT TOP 5 WITH write a select statement that includes answers with ties
TIES ANSWERS
and, or, not the three logical operators that can follow a where clause
included the upper and lower limits of a between phrase are _______ in
the result set
not between used to show only results that are not between the upper
and lower limits
https://quizlet.com/187007168/murachsql2012chapter3flashcards/ 3/4
6/26/2017 MurachSQL2012Chapter3Flashcards|Quizlet
not like includes only the rows with values that don't match the
specified string pattern
not like '[1-9]%' match numbers of any length that don't start with a 1 or a 9
... ...
https://quizlet.com/187007168/murachsql2012chapter3flashcards/ 4/4