SQL Server
SQL Server
Database is a structured collection of records or data that is stored in a computer system. In order for a database to be truly functional, it must not only store large amounts of records well, but be accessed easily DBMSDatabase Management System RDBMS-Relational 7/6/12 Management System Database
SQL server
SQL Server is a Relational Database Management System. Data is stored is Tables consisting of columns and rows. Tables can be linked, or Related, to one another. Tables and objects that belong to the same family or require similar security are collectively stored in a Database.
7/6/12
SQL Server 2008 SQL Server 2005 SQL Server 2000 SQL Server 7 SQL Server 6.5
7/6/12
Mathematical Functions
ROW_NUMBER () : Returns the sequential number of a row within a partition of a result set RANK () : Returns the rank of each row within the partition of a result set
7/6/12
Aggregate Functions
Aggregate functions return a single value summarizing a given data set and they can operate on all other numeric data . Aggregate Functions are: Sum() Avg() Max() Min() Count()
7/6/12
HAVING can be used only with the SELECT statement. HAVING is typically used in a GROUP BY clause. When GROUP BY is not used, HAVING behaves like a WHERE clause.
A HAVING clause is like a WHERE clause, but applies only to groups as a whole, whereas the WHERE clause applies to individual rows.
The HAVING clause is then applied to the rows in the result set. You can apply a HAVING clause only to 7/6/12