Select Top Records In SQL Part IV

Select Top Records In SQL

Select Top :
  • The SELECT TOP clause is used to specify the number of records to return. 
  • The SELECT TOP clause is useful on large tables with thousands of records, returning a large number of records can impact performance.
Create a New Table for Solving the following Query :

Table :

tblCustomer


1) Finding the First Highest Sales in tblCustomer ?


2) Finding the Second Highest Sales in tblCustomer ?


3) Finding the Third Highest Sales in tblCustomer ?


4) Finding the Fourth Highest Sales in tblCustomer ?

       

Comments

Popular posts from this blog

Basic Concept In C Sharp Day 16

VS Code In JavaScript Day 6

ASP.NET MVC Interview Questions Part - II Day 26