Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How many levels can subqueries be nested in a FROM clause?

Answers were Sorted based on User's Feedback



How many levels can subqueries be nested in a FROM clause?..

Answer / vikas trivedi

32 levels of nesting within a query is possible.

Is This Answer Correct ?    36 Yes 12 No

How many levels can subqueries be nested in a FROM clause?..

Answer / ravi

255 levels

Is This Answer Correct ?    24 Yes 9 No

How many levels can subqueries be nested in a FROM clause?..

Answer / pradeep

http://download.oracle.com/docs/cd/B19306_01/server.102/b142
00/queries007.htm

The below stated on above page from oracle

A subquery can contain another subquery. Oracle Database
imposes no limit on the number of subquery levels in the
FROM clause of the top-level query. You can nest up to 255
levels of subqueries in the WHERE clause.

Is This Answer Correct ?    8 Yes 1 No

How many levels can subqueries be nested in a FROM clause?..

Answer / slokh

FROM clause
A subquery can also be found in the FROM clause. These are
called inline views.

For example:

select suppliers.name, subquery1.total_amt
from suppliers,
(select supplier_id, Sum(orders.amount) as total_amt
from orders
group by supplier_id) subquery1,
where subquery1.supplier_id = suppliers.supplier_id;

In this example, we've created a subquery in the FROM
clause as follows:

(select supplier_id, Sum(orders.amount) as total_amt
from orders
group by supplier_id) subquery1

This subquery has been aliased with the name subquery1.
This will be the name used to reference this subquery or
any of its fields.

Limitations:

Oracle allows an unlimited number of subqueries in the FROM
clause.

Is This Answer Correct ?    10 Yes 5 No

How many levels can subqueries be nested in a FROM clause?..

Answer / shekaran04

Oracle imposes no limit on the number of SUB Queries levels
in the from clause

Is This Answer Correct ?    5 Yes 3 No

How many levels can subqueries be nested in a FROM clause?..

Answer / sulochana

There is no limit on the no.of sub queries in the FROM clause.

in WHERE clause ,we can write upto 255 levels only..





Thanks & Regards,
Sulochana

Is This Answer Correct ?    5 Yes 3 No

How many levels can subqueries be nested in a FROM clause?..

Answer / john

32 number of Subquery

http://msdn.microsoft.com/en-us/library/ms143432.aspx

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

how to find 5th row ?

10 Answers  


What is the difference between cross join and natural join?

0 Answers  


Table name: T1, it has only one column. col1 ------ c b a b b b b d s a a t s Requirement: I need the following output from the above base table by using SQL query. col1 Cnt ----- ------- a 3 b 5 Others 5 Please help. Thanks Guru v.gurus@in.com

11 Answers  


How do you create an update query?

0 Answers  


If i insert record in table A and these record should update in table B by using Trigger.How to achieve this.

4 Answers   Saama Tech, TCS,


how to connect oracle in unix prompt?

4 Answers   Polaris,


What is over () in sql?

0 Answers  


which will fire first ? Trigger or Constraint

24 Answers   i2, IBM,


how can create data base link for tow servers (scott schema) give examples plz

2 Answers  


Why schema is used in sql?

0 Answers  


How to display Row Number with Records in Oracle SQL Plus?

0 Answers   MCN Solutions,


What is asqueryable?

0 Answers  


Categories