Upload
ravi90
View
38
Download
4
Embed Size (px)
DESCRIPTION
vfgbhg
Citation preview
2/22/2015 SALARY : SQL INTERVIEW QUERIES EXAMPLES FOR FRESHER AND EXPRINCED SET-4 ~ INTERVIEW QUESTIONS PDF
http://www.interviewquestionspdf.com/2014/07/salary-sql-interview-queries-examples.html 1/8
INTERVIEWQUESTIONS
SALARY : SQL INTERVIEW QUERIES EXAMPLESFOR FRESHER AND EXPRINCED SET-4
HOME FREE PDF
Hey this is 4th set of SQL Interview Queries series,this set containing IN,NOT IN and Salary related sqlqueries which is asked most frequently in every sqlserver interview, so this set containing mostimportent salary related interview queries withexample.
So lets start SQL Quiz. SET-4 (31-41)Related Tables:-
--31. Select only one/top 1 record from "EmployeeDetail" table.SELECT TOP 1 * FROM [EmployeeDetail]
--32. Select all employee detail with First name "Vikas","Ashish", and"Nikhil".SELECT * FROM [EmployeeDetail] WHERE FirstNameIN('Vikas','Ashish','Nikhil')
1
Share
2/22/2015 SALARY : SQL INTERVIEW QUERIES EXAMPLES FOR FRESHER AND EXPRINCED SET-4 ~ INTERVIEW QUESTIONS PDF
http://www.interviewquestionspdf.com/2014/07/salary-sql-interview-queries-examples.html 2/8
--33. Select all employee detail with First name not "Vikas","Ashish", and"Nikhil".SELECT * FROM [EmployeeDetail] WHERE FirstName NOTIN('Vikas','Ashish','Nikhil')
--34. Select first name from "EmployeeDetail" table after removingwhite spaces from right sideSELECT RTRIM(FirstName) AS [FirstName] FROM [EmployeeDetail]
--35. Select first name from "EmployeeDetail" table after removingwhite spaces from left sideSELECT LTRIM(FirstName) AS [FirstName] FROM [EmployeeDetail]
--36. Display first name and Gender as M/F.(if male then M, if Femalethen F)SELECT FirstName, CASE WHEN Gender = 'Male' THEN 'M'WHEN Gender = 'Female' THEN 'F'END AS [Gender]FROM [EmployeeDetail]
--37. Select first name from "EmployeeDetail" table prifixed with "Hello "SELECT 'Hello ' + FirstName FROM [EmployeeDetail]
--38. Get employee details from "EmployeeDetail" table whose Salarygreater than 600000SELECT * FROM [EmployeeDetail] WHERE Salary > 600000
--39. Get employee details from "EmployeeDetail" table whose Salaryless than 700000SELECT * FROM [EmployeeDetail] WHERE Salary < 700000
2/22/2015 SALARY : SQL INTERVIEW QUERIES EXAMPLES FOR FRESHER AND EXPRINCED SET-4 ~ INTERVIEW QUESTIONS PDF
http://www.interviewquestionspdf.com/2014/07/salary-sql-interview-queries-examples.html 3/8
Related Posts:
Which big data formats are supported byTalend? Interview QuestionTalend Big Data supports many file formats either within HDFS orHive. Depending on the component and target language that willbe generated, differe Read More
C# OOPS INTERVIEW QUESTIONS-ANSWERSWITH EXAMPLESHi friends here are some very important OOPS interview questions answers withuser friendly format. And the best thing is that all examples represent Read More
Share This: Facebook Twitter Google+ Stumble Digg
--40. Get employee details from "EmployeeDetail" table whose Salarybetween 500000 than 600000SELECT * FROM [EmployeeDetail] WHERE Salary BETWEEN 500000 AND600000
--41. Select second highest salary from "EmployeeDetail" table.SELECT TOP 1 Salary FROM( SELECT TOP 2 Salary FROM [EmployeeDetail] ORDER BY Salary DESC) T ORDER BY Salary ASC
Click on the following link for NEXT SET OF QUESTIONS:CLICK HERE FOR NEST SET (MORE THAN 100 QUERIES)Sponsored Ads
08:14 INTERVIEW QUESTIONS, SQL INTERVIEW QUERY, SQL SERVER NO COMMENTS
Download Book PDF Oracle Salary Employee Salary
1
Share
Recommend this on Google
2/22/2015 SALARY : SQL INTERVIEW QUERIES EXAMPLES FOR FRESHER AND EXPRINCED SET-4 ~ INTERVIEW QUESTIONS PDF
http://www.interviewquestionspdf.com/2014/07/salary-sql-interview-queries-examples.html 4/8
Newer Post Older Post
How to Send email from Qlikview | InterviewquestionsHow to Send email from Qlikview? Solution: Hi, Sometimes weneed to send objects by email. Well, is the solution of thisproblem using Powershell an Read More
What are the Prerequisites to Learn QlikViewstep by step?The basic pre-requisites for Qlikview will be similar to what isrequired for other BI tools: ** Any programming Language syntaxincluding Func Read More
TALEND INTERVIEW QUESTIONS ANSWERSPDF FOR BI DEVELOPERSTALEND INTERVIEW QUESTIONS ANSWERS PDF FOR BIDEVELOPERS Here we come with Talend ETL/MDM interviewquestions and answers, PDF will be avaliable s Read More
Home
0 comments:
Post a Comment
Enter your comment...
Comment as: Google Account
Publish Preview
Search SEARCH
2/22/2015 SALARY : SQL INTERVIEW QUERIES EXAMPLES FOR FRESHER AND EXPRINCED SET-4 ~ INTERVIEW QUESTIONS PDF
http://www.interviewquestionspdf.com/2014/07/salary-sql-interview-queries-examples.html 5/8
Windows SQL Server Fresher Salary India SQL Query Examples
Find us on Facebook
Interviewquestionspdf.com
40 people like Interviewquestionspdf.com.
Facebook social plugin
Like
WHAT IS AN INTERVIEW? :)
MUST READ
CHETAN BHAGAT BOOK/NOVEL HALFGIRLFRIEND FREE DOWNLOAD PDFHINDI/GUJARATI
FREE DOWNLOAD HALF GIRLFRIEND CHETANBHAGAT NEW BOOK/NOVEL 2014 PDF
CHETAN BHAGAT'S HALF GIRLFRIEND HINDIONLINE READ EBOOK PDF
MS SQL QUERIES INTERVIEW QUESTIONS ANSWERSEXAMPLES 4 FRESHER AND EXPERIENCED PDF
SQL SERVER QUERY INTERVIEW QUESTIONS -ANSWERS WITH EXAMPLE FOR FRESHER : SET-1SOLUTION
COMPLEX JOINS : SQL SERVER JOINS QUERIESINTERVIEW QUESTIONS AND ANSWERSEXAMPLES FOR EXPERIENCED SET-7
CHETAN BHAGAT HALF GIRLFRIEND FREE DOWNLOAD+FLIPKART +PDF
Popular Posts
2/22/2015 SALARY : SQL INTERVIEW QUERIES EXAMPLES FOR FRESHER AND EXPRINCED SET-4 ~ INTERVIEW QUESTIONS PDF
http://www.interviewquestionspdf.com/2014/07/salary-sql-interview-queries-examples.html 6/8
Your Dreams are Mine Now PDF FREEDOWNLOAD? NOW GET HARD COPY FREE!! YES!!
ASP.NET MVC INTERVIEW QUESTION PDF BOOKFREE BY Shailendra Chauhan
Follow us on Facebook
Blog links
Powered by Blogger.
2015 (48)
2014 (138)
December (10)
November (9)
October (5)
September (38)
August (11)
July (19)
Big Data FREE webinar on career opportunities in B...
10000startups.com google initiatives India
CWG 2014 RESULT APPS ANDROID | ITUNES |WINDOWS
GLASGOW CWG 2014 MEDAL TALLY | HARYANA &PUNJAB
Blog Archive
2/22/2015 SALARY : SQL INTERVIEW QUERIES EXAMPLES FOR FRESHER AND EXPRINCED SET-4 ~ INTERVIEW QUESTIONS PDF
http://www.interviewquestionspdf.com/2014/07/salary-sql-interview-queries-examples.html 7/8
HARYANA AND PUNJAB AT CWG 2014 GLASGOW
Schedule of Indian players at the CWG Glasgow 2014...
FREE PDF DOWNLOAD : ANKIT FADIA SOCIAL 50WAYS TO ...
SELECT QUERIES: Small Tricky SQL SERVER QueriesIn...
MS SQL QUERIES INTERVIEW QUESTIONS ANSWERSEXAMPLE...
DDL : MS SQL SERVER QUERIES INTERVIEWQUESTIONS FO...
COMPLEX JOINS : SQL SERVER JOINS QUERIESINTERVIEW...
JOIN : SQL JOIN QUERIES INTERVIEW QUESTIONSAND AN...
Free Download PDF: ASP.Net, C#.Net, ADO.Net, MS SQ...
GROUP BY : SQL INTERVIEW QUERIES QUESTIONSAND ANS...
SALARY : SQL INTERVIEW QUERIES EXAMPLES FORFRESHE...
DATETIME : SQL SERVER QUERIES INTERVIEW FOREXPER...
SQL SERVER INTERVIEW QUERY WITH EXAMPLE 4FRESHER ...
SQL SERVER QUERY INTERVIEW QUESTIONS -ANSWERS WIT...
Import Data from Multiple Excel Files\Folders usin...
June (7)
May (19)
April (19)
February (1)
Enter your email address:
Get FREE EBOOK in UR mail-box
2/22/2015 SALARY : SQL INTERVIEW QUERIES EXAMPLES FOR FRESHER AND EXPRINCED SET-4 ~ INTERVIEW QUESTIONS PDF
http://www.interviewquestionspdf.com/2014/07/salary-sql-interview-queries-examples.html 8/8
Copyright 2015 INTERVIEW QUESTIONS PDFDistributed By My Blogger Themes | Blogger Theme By PremiumBloggerTemplates
SUBSCRIBE
Delivered by FeedBurner
Live Traffic Feed
Real-time view Get Feedjit
A visitor from Gurgaon, India viewed MSSQL QUERIES INTERVIEWQUESTIONS ANSWE... 47 secs agoA visitor from India viewed "CHETAN