Sie sind auf Seite 1von 1

TSQL codes

1. T-SQL code to find out the nth highest number in a column Ever wondered how to find out the second highest salary from the employees table? Or how to find out the third oldest employee in the company? Here is a stored procedure which accepts the table name, column name, and nth number and displays the nth highest number from the given column. 2. Hamming Distance Algorithm in SQL 3.