Share these flash cards

With group: None
HTML link to set: Tiny link:
Share on Facebook Share on MySpace

All 31 terms

TermDefinition
<=less than or equal to
>=greater than or equal to
BETWEENused to define range limits
INused to check whether an attribute value matches a value contained within a (sub)set of listed values
<>Not equal to
IS NULLused to check whether an attribute value is null
EXISTSused to check whether an attribute has a value.
LIKEused to check for similar character strings
*matches any number of characters. it can be used as the first or last character in the character string
?matches any single alphabetic character
ANDjoins two or more conditions and returns results when all are true
ORjoins two or more conditions and returns results when any are true
NOTnegates an expression
#qualifies dates
'text'qualifies text
ORDER BYlists in sequence
SUM()gives the total of all rows, satisfying any condition, of the given column
AVG()gives the average of the given column
MAX()gives the largest figure in the given column
MIN()gives the smallest figure in the given column
COUNT()gives the number of rows satisfying the condition
COUNT(*)counts the number of rows
DAY()returns today’s date
YEAR()returns only the year from a date field
ROUND(attribute, 0)rounds to the nearest whole number
GROUP BYindicate columns to summarize on
HAVINGindicate group conditions
DISTINCTomits records that contain duplicate data in the selected fields
table.attributeformat used to identify an attribute of a table when tables being joined have attributes of the same name
& ' ' &to combine two attributes into a single column
nested queryquery inside a query. use in WHERE and HAVING conditions

Set Information

Terms 31
Creator shane_reiser
Created February 27, 2007
Groups None
Subjects sql, dbms, database
Access Anyone
Edit Creator Only
Get rid of ads on Quizlet

Description

Basic SQL.

Pop out

Discuss

jalenack : hey, good stuff
jalenack : doesn't # qualify comments though?
Last Message: 33 months ago

You must be logged in to discuss this set.

Top Users

  1. shane_reiser - 33 scores
  2. capella - 32 scores

Most Missed Words

  1. HAVING indicate group conditions - 1 miss
  2. DISTINCT omits records that contain duplicate data in the selected fields - 1 miss
  3. SUM() gives the total of all rows, satisfying any condition, of the given column - 1 miss