336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
- Aggregate functions combine multiple rows together to form a single value of more meaningful information.
COUNT
takes the name of a column(s) as an argument and counts the number of rows where the value(s) is notNULL
.GROUP BY
is a clause used with aggregate functions to combine data from one or more columns.SUM()
takes the column name as an argument and returns the sum of all the values in that column.MAX()
takes the column name as an argument and returns the largest value in that column.MIN()
takes the column name as an argument and returns the smallest value in that column.AVG()
takes a column name as an argument and returns the average value for that column.ROUND()
takes two arguments, a column name and the number of decimal places to round the values in that column.
'웹프로그래밍 > DB' 카테고리의 다른 글
SQL Commands 3 (0) | 2016.02.25 |
---|---|
SQL Commands 2 (0) | 2016.02.24 |
SQL Commands (0) | 2016.02.24 |