Interview Question

Senior Software Engineer Interview Emeryville, CA

Write a SQL query to update a column in a table based on

  the another column order. For eg: TableA(alphabet char, position int), update position based on the alphabet order. 'a' position is 1 and 'z' position is 26.
Answer

Interview Answer

1 Answer

0

Assume SQL Server 2008 as database.

Interview Candidate on May 14, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.