Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12345»»»

Analytical Interview Questions Expand / Collapse
Author
Message
Posted Friday, July 11, 2008 5:31 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Wednesday, February 24, 2010 4:10 AM
Points: 1,553, Visits: 2,232
Hi All,

My company is looking to hire new SQL develoeprs.
What are some good analytical questions that we can ask a candidate to get an idea of how they think or work through processes?

Thanks in afvance
Chris


----------------------------------------------
Try to learn something about everything and everything about something. - Thomas Henry Huxley


Posting Best Practices
Numbers / Tally Tables

SQL-4-Life
Post #532304
Posted Friday, July 11, 2008 5:51 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, November 3, 2008 5:00 AM
Points: 5, Visits: 19
Hi,

Below iam giving some interview Questions on Sql Server

1.Referentail integrity
2.Types of Indexes(Perfermence Wise Which is better)
3.Types of Joins
4.What are temperory tables.(perfermence wise cursors r Temperory Tables which are better)
5.What is CTE(Common Table Expression) in Sql Server.
6.What are Derived Tables.
7.What are Views.
8.Diff between Stored Procedures and Stored Functions.
9.Types of triggers.
10.Types of Cursors.


so on .,......
RC

Post #532322
Posted Friday, July 11, 2008 6:26 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Wednesday, February 24, 2010 4:10 AM
Points: 1,553, Visits: 2,232
Thanks for that.

I'm actually look for more of an Analytical question rather than tech skills questions...

For example giving them puzzles to see what there approach to problem solving is like.


----------------------------------------------
Try to learn something about everything and everything about something. - Thomas Henry Huxley


Posting Best Practices
Numbers / Tally Tables

SQL-4-Life
Post #532346
Posted Friday, July 11, 2008 7:42 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: 2 days ago @ 12:27 PM
Points: 1,800, Visits: 1,527
For SQL Programming/Analytical questions Some of the standard ones are:
1) How to Find top 3 maximum values in a column (ANS using TOP clause with ASC)
2) Reverse the characters of a name and print them out (If name is Jack -> Then output shall be kcaJ)
3) Write a query to Find and eliminate duplicate values (i.e. one sol', would be to use Group BY, HAVING COUNT(*)>1 Clause)
4) Print results from two tables having uncommon values using JOINS(If TabA has 1,2,3,4 Values and TabB has Values 2,3,4,5,6 only 1 and 6 should be the output)(This would demonstrate knowledge of JOINS)
Post #532436
Posted Friday, July 11, 2008 11:34 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 17, 2014 7:55 AM
Points: 2,805, Visits: 3,067
There are two rooms separating by a wall, one room has three lamps, the one one has three switches, can you tell how to find out which switch is for which lamp if you only allow to look at other room once. (Question from Bill Gates, he said if anyone can answer this question in five minutes, he would hire that person.) So far I asked many people this question, only one guy could answer this question within 5 minutes, he was a geek though.
Post #532720
Posted Friday, July 11, 2008 11:58 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Thursday, June 5, 2014 10:54 AM
Points: 9,902, Visits: 9,480
Loner (7/11/2008)
There are two rooms separating by a wall, one room has three lamps, the one one has three switches, can you tell how to find out which switch is for which lamp if you only allow to look at other room once. (Question from Bill Gates, he said if anyone can answer this question in five minutes, he would hire that person.) So far I asked many people this question, only one guy could answer this question within 5 minutes, he was a geek though.


Well, first time that I have heard this one (honest). Here is what I would do: turn the first switch on, turn the second switch off, and disassemble the third switch and wire a disconnect timer into it, set it for one minute, and turn the switch on.

Then go to the Lamp Room and wait 1 minute. The lamp that was on the whole time is switch 1, the lamp that was off the whole time is switch 2, and the one that was on but turned off is switch 3.


-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
Post #532730
Posted Friday, July 11, 2008 12:07 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, October 2, 2013 9:22 AM
Points: 386, Visits: 441
If you subscribe to SQL Server Magazine, they have very interesting puzzles almost every month by author Itzik Ben Gun. I like them, I could solve just few of them.
Post #532734
Posted Friday, July 11, 2008 12:16 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 17, 2014 7:55 AM
Points: 2,805, Visits: 3,067
Well, according to Bill Gates, the answer was:
1. Turn on the first switch, wait 20 minutes.
2. Turn on the second switch.
3. Go to the other room, the lighted lamp that was really hot belonged to the first switch, the lighted lamp that was not hot belonged to the second switch, the other lamp that was not lighted belonged to the third switch.
Post #532740
Posted Friday, July 11, 2008 12:45 PM


Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Monday, October 21, 2013 4:37 PM
Points: 701, Visits: 211
My company's interviews are almost purely knowledge-interrogation. Some candidates have literally walked out or reverted to a bitter attitude when getting stumped on easy-to-moderate questions.


1) How to Find top 3 maximum values in a column (ANS using TOP clause with ASC)
2) Reverse the characters of a name and print them out (If name is Jack -> Then output shall be kcaJ)
3) Write a query to Find and eliminate duplicate values (i.e. one sol', would be to use Group BY, HAVING COUNT(*)>1 Clause)
4) Print results from two tables having uncommon values using JOINS(If TabA has 1,2,3,4 Values and TabB has Values 2,3,4,5,6 only 1 and 6 should be the output)(This would demonstrate knowledge of JOINS)


My company regularly asks questions like these. Haven't heard about anything of the #2 type being asked (string manipulation). My boss doesn't like candidates that knows too much about cursors though.


1.Referentail integrity
2.Types of Indexes(Perfermence Wise Which is better)
3.Types of Joins
4.What are temperory tables.(perfermence wise cursors r Temperory Tables which are better)
5.What is CTE(Common Table Expression) in Sql Server.
6.What are Derived Tables.
7.What are Views.
8.Diff between Stored Procedures and Stored Functions.
9.Types of triggers.
10.Types of Cursors.


These get asked a lot.



Post #532751
Posted Friday, July 11, 2008 5:42 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Yesterday @ 11:06 PM
Points: 36,711, Visits: 31,160
rameshchandra.a (7/11/2008)
4.What are temperory tables.(perfermence wise cursors r Temperory Tables which are better)
If a WHILE loop is involved, then each will suck as bad as the other

5.What is CTE(Common Table Expression) in Sql Server.
It helps people who don't know how to write T-SQL. :P

8.Diff between Stored Procedures and Stored Functions.
One is real, the other is not... they're called "User Defined Functions"...;)

10.Types of Cursors.
Two types... good maintenance cursors that control setbased processes written by a DBA... and bad.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #532909
« Prev Topic | Next Topic »

Add to briefcase 12345»»»

Permissions Expand / Collapse