Home
AskTheOracle Blog
Oracle Tips & Tricks
Oracle Training
Oracle Tutorials
PL/SQL
SQL
Advanced Tutorials
Performance Tuning
Certification
Oracle 10g
Oracle 11g
Oracle and .Net
Oracle Utilities
Developer Tools
Oracle Questions?
Oracle News
Search This Site
About Us
Disclaimer
Privacy Policy
Contact Us
Subscribe To This Site
XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines

I need a sample schema please help!!!!

by Aliyev M.H
(baku,Azerbaijan)

I need a sample schema for my database with tables, indexes, sequences etc. all queries in it in .txt(.doc,.pdf etc.). Can you help? Thank you.

The easiest way to get a sample schema is to download and install Oracle Express Edition from the Oracle Technology Network. Oracle XE is a small footprint database that is free to use and more importantly comes with a database populated with a sample schema (HR) which contains (almost) a full set of objects with tables, indexes, sequences, procedures, functions, triggers etc.

As for queries, you really have to write your own to learn and it obviously depends on what you what questions you want to ask (about your data), but a few simple queries to start with could be:
  • SELECT * FROM employees;
  • SELECT * FROM departments;
  • SELECT city FROM locations;
  • SELECT state_province,country_id FROM locations;
  • SELECT job_title,max_salary FROM jobs;
  • SELECT first_name||last_name FROM employees;
For more query ideas see our Oracle tutorials.

Click here to post comments.

Join in and write your own page! It's easy to do. How?
Simply click here to return to Oracle Questions
.