Author: Manzoor Siddiqui

0

SQL SELECT TOP Clause

SQL SELECT TOP clause is used to retrieve top N records or by percentage value from specified table(s) and limits the records by mentioned value in the query. If you want to fetch records in...

0

SQL MAX() Function

SQL MAX() function returns the largest value from the selected column. Syntax SELECT MAX(columnName) FROM TableName To understand MAX() function we will take example from [SalesPerson] table of AdventureWorks2012 database. Below is a selection...

0

SQL MIN() Function

SQL MIN() function returns the smallest value from the selected column. Syntax SELECT MIN(columnName) FROM TableName To understand MIN() function we will take example from [SalesPerson] table of AdventureWorks2012 database. We are selecting all rows...

0

SQL AND & OR Operators

SQL AND operator is used to filter the records by combining two boolean expressions and returns true when both boolean expressions are true whereas SQL OR operator returns true value when either the first...