Friday, April 10, 2015

21 SQL Query Interview Questions For Programmers


In this article I am giving some examples of SQL queries which is frequently asked when you go for a programming interview, having one or two year experience on this field .Whether you go for Java developer position or any other technology programmer position, may interviewer expect you to answer basic questions from Database and SQL. It's also obvious that if you are working from one or two years on any project there is good chance that you come across to handle database, writing SQL queries to insert, update, delete and select records. One simple but effective way to check candidate's SQL skill is by asking these types of simple query. They are are neither very complex nor very big, but yet they cover all key concept a programmer should know about SQL. These queries test your SQL skill on Joins, both INNER and OUTER join, filtering records by using WHERE and HAVING clause, grouping records using GROUP BY clause, calculating sum, average and counting records using aggregate function like AVG(), SUM() and COUNT, searching records using wildcards in LIKE operator, searching records in a bound using BETWEEN and IN clause, DATE and TIME queries etc. If you have faced any interesting SQL query or you have any problem and searching for solution, you can post it here for everyone's benefit. 

Read More

No comments:

Post a Comment