Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Login

Register Now

It will take less than 1 minute to register for lifetime. Bonus Tip - We don't send OTP to your email id Make Sure to use your own email id for free books and giveaways

Category : SQL

SQL related questions

Question
Write a SQL query to find the 10th highest employee salary from an Employee Table. Explain your answer. (Note: You may assume that there are at least 15 records in the Employee Table)
in progress 0
55 years 3 Answers 1273 views Great Grand Master

Question
Write a function that takes in a list of dictionaries with a key and list of integers and returns a dictionary with the standard deviation of each list. Note that this should be done without using the numpy built in functions.
in progress 1
55 years 1 Answer 1133 views Great Grand Master

Question
You notice a system uses a lot of triggers to enforce foreign key constraints, and the triggers are error-prone and difficult to debug. What changes can you recommend to reduce the use of triggers?
in progress 3
55 years 1 Answer 814 views Great Grand Master

Question
You have data of people who have applied for a lottery ticket. The data consists of their ticket number. You have to choose winners by selecting the people present in rows divided by 3 or 7, but not both. Write a ...
in progress 1
55 years 3 Answers 1013 views Great Grand Master

Question
Temperatures of a particular area were recorded in a table. Write a SQL query to find the date along with the IDs whose temperature is lower from the next day. ID Date Temperature (c) 1001 2020-03-11 17 1002 2020-03-12 20 1003 2020-03-13 31 1004 2020-03-14 23
in progress 1
55 years 2 Answers 1114 views Great Grand Master

Question
Take reference from the previous question, Query I In the same Table 3, find the employee with highest salary and arrange them in the alphabetical order of their last name.
in progress 0
55 years 3 Answers 1145 views Great Grand Master

Question
You have got some data in the Table 1 and Table 2 Table 1 Id Last_Name First_Name Title E0011 Verma Nikita Technician E0012 Jordan Chris HR E0013 Samson Nil Assistant E0014 Smith Joe In charge   Table 2 Id Salary E0013 80,000 E0012 65,000 E0011 70,000 E0014 75,000   Write a SQL query to create a Table 3 that contains the following columns- Id, First_Name, Last_Name, Salary (Hint- The columns should be in the prescribed order)
in progress 0
55 years 5 Answers 3117 views Great Grand Master