select top 1 row from query results
627631Mar 11 2008 — edited Mar 11 2008How can i select only top 1 row from the results obtained from a database query?
My query looks some thing like this..
select col1,col2 from table1
inner join table2 on
table1.id = table2.id
order by col2.
I get around 100 rows returned, but i want to have only top one column.
How can limit this.