SQL WITH CLAUSE
The SQL WITH clause is used to provide a sub-query block which can be referenced in several places within the main SQL query. It was introduced by oracle in oracle 9i release2 database.
SQL With Syntax
WITHAS (sql_sub-query_statement) SELECT column_list FROM [table name] [WHERE ]