hi, i have 3 cols in my db
col 1 ( unique identifier )
col2 ( varchar )
col 3 ( integer )
how can i retrive the 3 greatest values from the database on the basis of col 3..
hi, i have 3 cols in my db
col 1 ( unique identifier )
col2 ( varchar )
col 3 ( integer )
how can i retrive the 3 greatest values from the database on the basis of col 3..
select top 3 *
from tableName
order by col3 desc
thanx for your reply.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.