Previous |
Next |
This topic explains how to run queries or other SQL statements in SQL Developer, if you are connected to Oracle Database as user HR
from SQL Developer (for instructions, see "Connecting to Oracle Database as User HR from SQL Developer").
To run queries in SQL Developer:
Click the icon SQL Worksheet.
Either the Connection Information window opens or the SQL Worksheet pane appears.
If the Select Connection window opens:
If the Connection field does not have the value hr_conn
, select that value from the drop-down list.
Click OK.
The SQL Worksheet pane appears. Under "Enter SQL Statement:" is a field where you can enter a SQL statement.
In the SQL Worksheet pane, type a query (a SELECT
statement).
Click the icon Execute Statement.
The query runs.
Click the tab Results.
The Results pane appears, showing the result of the query.
Click the icon Clear.
The query and its results disappear, and you can enter another SQL statement in the SQL Worksheet.