Oracle
  Home arrow Oracle arrow Learning to Query in Oracle XE
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ORACLE

Learning to Query in Oracle XE
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 14
    2006-06-07

    Table of Contents:
  • Learning to Query in Oracle XE
  • Running SQL Queries
  • An Example from PL/SQL
  • Example 3: Dual Tables

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    TestComplete™ automates software testing for a fraction of what the big guys charge. Easy functional and load testing for all Windows, .NET, Java and Web apps. Download a free trial now.

    Learning to Query in Oracle XE
    (Page 1 of 4 )

    Querying the database is one of the most common tasks that you may have to carry out routinely. This tutorial shows you the options for running SQL queries and how to run the queries against the database in the Oracle Express Edition, Oracle XE for short.

    Introduction

    In order to get information about logging in and out of Oracle XE, please review my first article which gives you an overview of Oracle XE.

    You can access the login page by going from the shortcut Go To Database Home Page... shown in the next picture.

    This opens up the login page shown in the next picture. It is assumed that you can log in to the HR database, which has a couple of tables. If you have not reviewed the previous article, you logged in as System with the password you gave yourself and then unlocked the HR database; otherwise you will not have permission to access the HR database. Please review the previous article. 

    This takes you to the HR database where the user hr has logged in as shown here, showing all the available objects. Since you will be looking at SQL,  click on the icon SQL. If you click on the drop-down you will get a menu from which you may have to choose.

     

    Clicking on the icon  opens three more icons, all related to SQL. They are
    SQL Command, SQL Scripts, and Query Builder.

    In this tutorial you will look at using the SQL Commands. Click on the icon SQL Commands, or on the drop down.

     

    When you click on the icon you get the next screen as shown. In this window you will be typing in the SQL and displaying the results of your SQL Query. In the upper pane you type in your SQL statement and in the bottom, tabbed pane you get the results. The Results tab is the default. Once you get the results you can look at several related facts, as shown in this picture, by tabbing the various items.

    More Oracle Articles
    More By Jayaram Krishnaswamy


       · Well, what I am describing is the canvas where you can experiment your scripting...
       · hallooo gud morningthese comments on the data base related (query) r not...
     

       

    ORACLE ARTICLES

    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...
    - Sub-templates and More with Oracle HTML DB
    - Focusing on Templates in Oracle HTML DB

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway