I have a job interview coming that will focus on T-SQL and general SQL competency.
Any suggestions on how to prepare for this?
I have a job interview coming that will focus on T-SQL and general SQL competency.
Any suggestions on how to prepare for this?
Here are a couple of websites that list questions that others have encountered (along with the answers):
Read up on
I always ask a question that can be solved either set-based or with a cursor to see if they know not to use the cursor. I'd want to see explicit joins and not implicit joins in any code samples. I'd want to see that you don't use select *. I'd ask about performance tuning. I'd want to know if you understand the difference between the various join types.
Here are some basic types of query patterns you should know and be able to discuss or provide sample code for : http://stackoverflow.com/questions/2701479/what-are-some-useful-sql-statements-usage-patterns-that-should-be-known-by-all/2701641#2701641