Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Wednesday, July 19, 2017

How to get top and bottom rows from where condition

SQLServerCentral » Latest topics
How to get top and bottom rows from where condition
Hi,

Create Table Test
(
Id int,
name varchar(80)
)

Insert into Test

Select 1, 'A' union All
Select 2, 'B' union All

No comments: