<p>Randstad Technologies has 35 years of experience recruiting for the IT sector, matching the right candidate with the best IT role. Part of the job hunting process calls on the candidate to perform well at the interview stage.</p>
<p>In order to help candidates throughout the preparation process, we gathered 70 commonly asked interview questions for <a href="/jobs/s-it/ss-development/r-sql-developer/">SQL developer job</a> candidates:</p>
<h3>Technical SQL interview questions.</h3>
<ol>
<li>Define DMVs.</li>
<li>What is a temp table?</li>
<li>Describe the difference between a local temp table and a global temp table.</li>
<li>What is the purpose of transactions?</li>
<li>Describe the difference between a clustered index and a non-clustered index.</li>
<li>Define DBCC commands. </li>
<li>What is the difference between truncate and delete?</li>
<li>For SQL Server, what is the default port number?</li>
<li>Explain the difference between inner and outer join. Illustrate your answer with an example.</li>
<li>Describe the difference between UNION and UNION ALL.</li>
<li>Explain the difference between WHERE clause and HAVING clause.</li>
<li>Describe Self Join and why it is important.</li>
<li>Without ROWNUM, how do you generate a row number? </li>
<li>Describe the difference</li>
<li>between ROWNUM pseudo column and ROW_NUMBER() function.</li>
<li>To read data out of a table, what is the basic form of SQL statement?</li>
<li>What structure can you apply to the database to speed up table reads?</li>
<li>What are the disadvantages to having indexes?</li>
<li>What is the difference between normalization and denormalisation? Under what circumstances would you want to denormalise? </li>
<li>What is the purpose of a constraint?</li>
<li>What are the types of index structures you can have? Define primary key.</li>
<li>Explain functional dependency and how it relates to database table design. What is the purpose of a trigger? Name the different types of Collation Sensitivity. </li>
<li>Explain the difference between a primary key and a unique key.</li>
<li>Why would you use the UPDATE_STATISTICS command?</li>
<li>State the authentication modes in SQL server and how they can be changed.  </li>
<li>Explain Log Shipping.</li>
<li>Describe some ways to get an accurate count of the number of records in a table?</li>
<li>Explain what a FOREIGN KEY is.</li>
<li>State the advantages of using Stored Procedures?</li>
<li>If it has neither Cluster nor Non-cluster Index, what is a table called? What is its purpose?</li>
<li>When did SQL appear?</li>
<li>What uses does SQL have?</li>
<li>State the subsets of SQL.</li>
<li>Describe Data Manipulation Language.</li>
<li>Describe Data Control Language.</li>
<li>Describe Data Definition Language.</li>
<li>How do you create a database?</li>
<li>How do you select a database?</li>
<li>How do you create a table?</li>
<li>How do you delete a table?</li>
<li>What is the EXPLAIN statement used for?</li>
<li>Describe the difference between group by and order by.</li>
<li>Describe a subselect and how it differs from a nested select?</li>
<li>Is it possible for a Primary key to be a Foreign key on the same table?</li>
<li>State the advantages of procedures.</li>
<li>Define Parsing.</li>
<li>Describe what a cursor is. </li>
</ol>
<h3>Personal SQL interview questions.    </h3>
<ol>
<li>What are your weaknesses?</li>
<li>Describe yourself professionally in a few words.</li>
<li>In our industry, what are some important trends that you see?</li>
<li>What are your reasons for leaving your previous/present job?              </li>
<li>What is your favourite aspect of being a SQL developer?</li>
<li>How do you remain abreast of new developments in technology?</li>
<li>Who else have you applied to/got interviews with?        </li>
<li>Have you got any questions?</li>
<li>Why should you get this job?</li>
</ol>
<h3>Scenario interview questions.</h3>
<ol>
<li>What is your troubleshooting process?</li>
<li>Would you describe yourself as a problem solver? If so, why? Can you give any example</li>
</ol>
<h3>Interview questions about the company.</h3>
<ol>
<li>Why do you want to work for this organisation?     </li>
<li>What do you know about our company and our products?   </li>
</ol>
<h3>Career-based SQL interview questions.</h3>
<ol>
<li>In two or three years from now, what do you see yourself doing? </li>
<li>Describe two or three of your accomplishments over the past few years that you are most proud of.</li>
</ol>