«Back to Home

Oracle Jump Start

Topics

How To Use Select Statement In OraclePLSQL

Description
 
Select statement is used to retrieve the data from one or more tables in Oracle/PLSQL.
 
Syntax
The syntax for Select statement in Oracle/PLSQL is given below-
  1. Select Expression  
  2. from Tables  
  3. Where Conditions;    
Example
  1. Select * from Employee;  
1
  1. select Emp_id, salary, Dept_no  
  2. from employee  
  3. where emp_id<7005  
  4. and salary > '20000'  
  5. order by Dept_no ASC, Salary DESC;  
2
 
Summary
Thus, we learnt, Select statement is used to retrieve the data from one or more tables and how to use select statement in Oracle with an example.