SQL Queries Interview Questions and answers

preview_player
Показать описание
Best 30 SQL Queries Interview Question and answers which every candidate should definitely prepare.

Please like & share the video.

Try and attempt Multiple Choice Questions below and do comment if you like the MCQ:

Subscribe the Channel to keep watching interesting videos helpful for your career growth:

--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------

Checkout different playlists:

--------------------------------------------------
--------------------------------------------------

Checkout Important videos :

-----------------------------------------------------------------------------
-----------------------------------------------------------------------------

You can directly go to individual questions on clicking on the timestamp :

1. SQL Query to update DateOfJoining to 15-jul-2012 for empid =1 : 04:39
2. SQL Query to select all student name where age is greater than 22 : 06:13
3. SQL Query to Find all employee with Salary between 40000 and 80000 : 06:38
4. SQL Query to display full name : 08:26
5. SQL Query to find name of employee beginning with S : 07:22
6. Write a query to fetch details of employees whose firstname ends with an alphabet ‘A’ and contains exactly five alphabets : 09:36
7. Write a query to fetch details of all employees excluding few Employees : 10:53
8. SQL query to display the current date : 12:11
9. SQL Query to get day of last day of the previous month : 13:13
10. Write an SQL query to fetch the employee FIRST names and replace the A with ‘@’ : 14:42
11. Write an SQL query to fetch the domain from an email address : 15:35
12. Write an SQL query to update the employee names by removing leading and trailing spaces : 17:16
13. Write an SQL query to fetch all the Employees details from Employee table who joined in the Year 2020 : 17:54
14. Write an SQL query to fetch only odd rows / Even rows from the table : 19:21
15. Write an SQL query to create a new table with data and structure copied from another table : 20:35
16. Write an SQL query to create an empty table with the same structure as some other table : 20:35
17. Write an SQL query to fetch top 3 HIGHEST salaries : 22:31
18. Find the first employee and last employee from employee table : 24:12
19. List the ways to get the count of records in a table : 25:17
20. Write a query to fetch the department-wise count of employees sorted by department’s count in ascending order : 26:25
21. Write a query to retrieve Departments who have less than 4 employees working in it : 27:12
22. Write a query to retrieve Department wise Maximum salary : 28:25
23. Write a query to Employee earning maximum salary in his department : 28:42
24. Write an SQL query to fetch the first 50% records from a table : 31:19
25. Query to fetch details of employees not having computer : 34:47
26. Query to fetch employee details along with the computer details who have been assigned with a computer : 32:54
27. Fetch all employee details along with the computer name assigned to them : 35:43
28. Fetch all Computer Details along with employee name using it : 38:41
29. Delete duplicate records from a table : 39:51
30. Find Nth Highest salary : 43:58
Рекомендации по теме
Комментарии
Автор

LinkedIn:

Try and attempt Multiple Choice Questions below and do comment if you like the MCQ.

Checkout the below doc for creating the table used in this video:

CodingGlitz
Автор

Thanks for the video man. Got selected in one of the company just by seeing 2 videos of SQL interviews questions and queries from your channel. ❤️

yogenderkushwaha
Автор

Ur teaching style is awesome.
Lucky to have ur lecture.

fact
Автор

I almost done by practicing, Good Content collection and Good presentation 👍

ghanshyam
Автор

Your explanations are incredibly clear and insightful! Would you be open to tackling some LeetCode questions as well ?

AparajitaJena-cymp
Автор

Can you please guide us if we want learn how to write medium to complex level queries with respect to logic how to break a query, how to understand what is expected and steps required for it please

shrushtiingle
Автор

For 12th question instead of using (Ltrim(Rtrim)) we can use directly Trim(columname) if we use two functions ltrim(rtrim) unnecessarily it will decrease the performance. Instead we can use only one function which will give the exact result. Trim(Columnname) this will remove the trailing spaces from both sides. Hope this helps👍

kingdomtrainings
Автор

Thanks brother for your Valuable information

santhoshkumar
Автор

Thanks for sharing such quality of knowledge 🥇🥇🥇🥇🥇🥇🥇🥇🥇🥇

There_is_no_God_but__ALLAH
Автор

Sir no one on this planet is teaching like u .u r explaining everything from the scratch ❤ thanks sir

shubhamsahu
Автор

It is really helpful and almost covered all query in sql also make video Store procedure, triger, function thanks a lot ❤

sanjeebamat
Автор

Really great Bro! Nice pin-point explanation done in the video.
Just one thing can we get database so we can practice this on our pc!..
Thanks in advance 👍

akshaykharche
Автор

Quite a helpful video !! Awesome.
A must Subscribed channel.✌👌

kostavdg
Автор

The Way of teaching is excellent💯👍👏 good job keep it up

patel__roma
Автор

Nice.... Badhia revision ho gya interview ke pehle

vinamra
Автор

It's useful information.nice way of explanation.thank you bro.

pandu
Автор

"BOHOT SAHI" --- ye umeed nahi kar raha tha intro ke liye ... jabarbast video mere bhai <3

sagarsharma
Автор

Sirr Plz make vedio for top asked pl sql query 🙏🏻🙏🏻🙏🏻

saurabhsonawane
Автор

Thankyou so much brother for such a wonderful content
you have explained it in a very easy way❤

ashokkumar-bsne
Автор

Awesome video and it would really helpful for SQL journy 🎉thanks wish your channel gets more user 😇

vivekkapil
welcome to shbcf.ru