tags:

views:

32

answers:

2

When I was studying MySQL I have been asked by my Teacher to find out that how many times we can write Select query inside Select query

At that time I found the answer practically.

+1  A: 

select in a select is really slow and shouldn't be used, unless there is no other alternative.

Try using joins to solve your problem, they work 90% of the time where you want to use a select in an other select...

Kennethvr
+3  A: 

In theory it should be infinite, nested queries are allowed at multiple levels. In reality, you are limited by memory and hopefully common sense.

DanDan