Level - sql pseudocolumns, PL-SQL Programming

LEVEL

You use the LEVEL with the SELECT CONNECT BY statement to categorize rows from a database table into a tree structure. The LEVEL returns the level number of a node in a tree structure. The root is at level 1, children of the root are at level 2, and grandchildren are at level 3, and so on.

You specify the direction in which the query walks the tree with the PRIOR operator. In the START WITH phrase, you specify a condition which identifies the root of the tree.

Posted Date: 10/4/2012 3:42:08 AM | Location : United States







Related Discussions:- Level - sql pseudocolumns, Assignment Help, Ask Question on Level - sql pseudocolumns, Get Answer, Expert's Help, Level - sql pseudocolumns Discussions

Write discussion on Level - sql pseudocolumns
Your posts are moderated
Related Questions
BETWEEN and NOT BETWEEN Operator in SQL Example: Restricting exam marks to between 0 and 100 CREATE ASSERTION Marks_between_0_and_100 CHECK (NOT EXISTS (SELECT * FROM

Assignment Statement: The assignment statement sets the present value of the variable, parameter, field, or element. The statement consists of an assignment target followed by

Left and Right Joins LEFT OUTER JOIN can be used when you want to retrieve the data from the main table (table1) even if there is no match in other tables (table_2, table_3...

Structure of an Object Type: Similar to package, an object type has 2 parts: the specification and the body. The specification is the interface to your applications; it declar

%ROWTYPE: This attribute gives a record type which represents a row in the database table or a row fetched from a formerly declared cursor. The Fields in the record and corresp

Literals A literal is an explicit numeric, string, character, or Boolean value not represented by an identifier. Numeric literal 147 and the Boolean literal FALSE are some of

Boolean Values Only the values TRUE, FALSE, & NULL can be assigned to a Boolean variable. For illustration, given the declaration DECLARE done BOOLEAN; the following statements

ROWID The ROWID returns the rowid (binary address) of a row in the database table. You can use the variables of the type UROWID to store rowids in a readable format. In the il

If two relations R and S are joined, then the non matching tuples of both R and S are ignored in __________________.

Data Types and Representations This explains the concept possible representation, abbreviated possrep, and explains how these can be used in conjunction with constraints to de