Set: SQL: FIRST, LAST, MAX, MIN, SUM, GROUP BY, HAVING

Familiarize

Learn

Test

Play Scatter

Play Space Race

Voice Scatter

Voice Race

Combine with other sets Login to add to Favorites
Print: Term List | Flashcards Editing not allowed
Export Deleting not allowed

Share these flash cards

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

All 7 terms

TermDefinition
SELECT FIRST(column_name) FROM table_namereturns the first value of the selected column
SELECT LAST(column_name) FROM table_namereturns the last value of the selected column
SELECT MAX(column_name) FROM table_namereturns the largest value of the selected column
SELECT MIN(column_name) FROM table_namereturns the smallest value of the selected column
SELECT SUM(column_name) FROM table_namereturns the total sum of a numeric column
SELECT column_name, aggregate_function(column_name)FROM table_name WHERE column_name operator value GROUP BY column_nameused in conjunction with the aggregate functions to group the result-set by one or more columns.
SELECT column_name, aggregate_function(column_name)FROM table_nameWHERE column_name operator value GROUP BY column_name HAVING aggregate_function(column_name) operator valuetakes the place of WHERE with aggregate functions

Set Information

Terms 7
Creator jtwilliams00
Created March 30, 2009
Groups None
Subject SQL
Access Anyone
Edit Creator Only
Get rid of ads on Quizlet
Pop out

Discuss

No Messages
Last Message: never

You must be logged in to discuss this set.