I have a table like
city | pincode
abcd | 123456
xyz | 326545
asd | 625844
city | 999999
and I want the result sorted with the selected pincode first
If I select pincode is 625844 which city is asd it must be show first
Desired output:
city | pincode
asd | 625844 <<-- this is selected pincode must be first
abcd | 123456
xyz | 326545
city | 999999
or if the selected pincode is being passed in as a parameter @pincode, this should work