SQL related questions
Barclays Interview Questions | Import Data
Question
Barclays Interview Questions | Recursion
Question
EXL Interview Questions| Gender
Question
EXL Interview Questions| Salary
Question
EXL Interview Questions| Triggers
Question
Lowe’s Interview Questions | Over-weight
Question
Suppose in class, you have 3n boys and 2n girls with their names tabulated along with their weight and gender. Write a SQL query to separate students alphabetically who are over-weight (55kg for girls, 75kg for boys)
in progress
0
SQL
55 years
11 Answers
1835 views
Great Grand Master
Lowe’s Interview Questions | Query III
Question
Name
Designation
Joining_Date
Salary
Ashutosh Singla
HR
2019-12-15
80,000
Chandan Garg
Admin
2019-10-09
60,000
Himanshi Kaur
HR
2019-03-13
75,000
Mohit Dharm
HR
2019-05-27
85,000
Meena Batra
Accountant
2019-07-11
50,000
Omkar Singh
Accountant
2019-01-05
45,000
Pratham Garg
Admin
2019-05-27
65,000
Rakesh Sharma
HR
2018-06-30
75,000
Sharadha Gupta
Accountant
2019-09-18
50,000
Arrange the employees with respect to their Joining date, most experienced employee coming on the top followed by others.
(Hint- In case of same date, preference should be HR>Admin>Accountant)
in progress
1
SQL
55 years
10 Answers
2227 views
Great Grand Master
Lowe’s Interview Questions | Query II
Question
Name
Designation
Joining_Date
Salary
Ashutosh Singla
HR
2019-12-15
80,000
Chandan Garg
Admin
2019-10-09
60,000
Himanshi Kaur
HR
2019-03-13
75,000
Mohit Dharm
HR
2019-05-27
85,000
Meena Batra
Accountant
2019-07-11
50,000
Omkar Singh
Accountant
2019-01-05
45,000
Pratham Garg
Admin
2019-05-27
65,000
Rakesh Sharma
HR
2018-06-30
75,000
Sharadha Gupta
Accountant
2019-09-18
50,000
The company has decided to give a pay raise of 5,000 to Accountants with a salary of less than 50,00. Find the employees satisfying the condition and create a new table ...
in progress
1
SQL
55 years
7 Answers
2065 views
Great Grand Master
Lowe’s Interview Questions | Query I
Question
Name
Designation
Joining_Date
Salary
Ashutosh Singla
HR
2019-12-15
80,000
Chandan Garg
Admin
2019-10-09
60,000
Himanshi Kaur
HR
2019-03-13
75,000
Mohit Dharm
HR
2019-05-27
85,000
Meena Batra
Accountant
2019-07-11
50,000
Omkar Singh
Accountant
2019-01-05
45,000
Pratham Garg
Admin
2019-05-27
65,000
Rakesh Sharma
HR
2018-06-30
75,000
Sharadha Gupta
Accountant
2019-09-18
50,000
Demonstrate how to write a query to show details of an HR whose name starts with M.
in progress
1
SQL
55 years
17 Answers
2751 views
Great Grand Master
Moonfrog Interview Questions | Queries
Question
Consider the following database schema for an e-commerce website: Given the following schema of tables:
Event table (no index/key) – contains event data recorded when an event occurs:
event_name [VARCHAR],
user_id [VARCHAR],
time [TIMESTAMP]Transaction table (no index / key) – contains ...
in progress
4
SQL
55 years
5 Answers
2563 views
Great Grand Master