0

What are subqueries in SQL?

Help me understand what is a subquery. In SL I find no such difference

21st Apr 2022, 10:45 AM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
1 Answer
+ 3
A subquery is used to return data that will be used in the main query as a condition to further restrict the data to be retrieved. Subquery is a query inside a main query. Subqueries can be used with the SELECT, INSERT, UPDATE, and DELETE statements along with the operators like =, <, >, >=, <=, IN, BETWEEN, etc. https://www.sololearn.com/learn/SQL/1861/?ref=app
21st Apr 2022, 10:54 AM
Abhivarshini Maddala
Abhivarshini Maddala - avatar