Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

How to control the order of rows in the select statement result set

$
0
0

Hi Team,

I have one table which is having the country names India,US,UK,Australia,Pakistan etc.

i want to get the select statement output such that first record should be india always and remaining records i can get those in ascending order.

My required output contains the result set such as India,Australia,Pakistan ,UK,US etc.

How can i achieve these by using SQL Server.

Thanks in Advance.



Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>