SQL SELECT Statement (Cont.)


SELECT Examples
Some of SELECT examples are given next.

☠ Caution ☠: NOT all SQL commands are supported by Oracle. For a complete Oracle SQL command list, check Oracle Database SQL Language Quick Reference.

Demonstration
Below is an SQL test area from W3Schools, which uses the well-known Northwind sample database. The tables here are for read only because of the problem of embedding the scripts. For a fully working example, check this by using Chrome.

SQL Statement:

Edit the SQL statement and click     to see the result, or  

Result:
The Database includes:
The Database includes:

TablenameRecord
Customers91
Categories8
Employees10
OrderDetails518
Orders196
Products77
Shippers3
Suppliers29




      You don’t need a parachute to go skydiving.    
      You need a parachute to go skydiving twice.