SELECTOPERATION    IN  Oracle
Select query retrieves information from a database and structures them into a result table.•  Writing SELECT queries is a ...
SELECT                                                                      DISTINCT< [t1.][f1],... AGG([t2.][f2])...>    ...
Upcoming SlideShare
Loading in …5
×

Oracle Select Query

637 views

Published on

It will provide all most all types of syntaxes diagramatically, supported in Oracle.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
637
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Oracle Select Query

  1. 1. SELECTOPERATION IN Oracle
  2. 2. Select query retrieves information from a database and structures them into a result table.• Writing SELECT queries is a skill that you need a lot in your job.• Basically SELECT queries are difficult when there is the question of the occurrences of thefollowing. Using Aggregate Functions Without GROUP BY With GROUP BY JOIN Sub QueryThese Structures can be easily understood if you will follow the diagrammatic representation given below.What you will get from the Diagram? This digram gives a brief idea about How to write a query. It contains all most all keywords and clauses, which are used in SQL query, and those which aresupported in Oracle You can also collect a huge collection of syntaxes for SELECT query. Developer : Nihar R Paital
  3. 3. SELECT DISTINCT< [t1.][f1],... AGG([t2.][f2])...> < [t1.][f1]...> * <[f1], AGG(f2)> <AGG(f1)...> <[f1], ... > FROM FROM <t1>, <t2>,... FROM <t1> <table_name>... Cross join Self join INNER JOIN LEFT/RIGHT OUTER JOIN WHERE <table_name>... JOIN ON PREDICATE <PREDICATE> GROUP BY <[t1.][f1]...> HAVING <PREDICATE on Aggregate> ORDER BY <[t1.][f1]...> Developer : Nihar R Paital

×