Languages

MySQL - what is subquery?

0 points
Asked by:
Lia-Perez
565

What is a subquery in MySQL?

1 answer
0 points
Answered by:
TheDalot
390

A subquery is a query that is nested inside statements (like SELECT , INSERT , UPDATE , DELETE) or inside another subquery.

It is used to return data that will be used in the main query as a condition to further restrict the data to be retrieved.

Practical example:

0 commentsAdd comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join