OracleIntroSeminar

OracleIntroSeminar - What you should have learned after...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: What you should have learned after this lecture ... some basic concepts of Oracle 2. Database Management: Handling Tables Goals: rough view on databases as a collection of tables enable you to start with Oracle as soon as possible creation of tables insertion and modification of records (so-called tuples ) in a table show a few simple queries on a single table postpone the theoretical discussion to a later time Concept of table used in books, papers, newspapers, etc. purpose: summarize information, give an overview spreadsheet programs purpose: give an overview, make numerical computations (e.g., aggregations) databases purpose: allow to retrieve (parts of the) data, make computations, derive new infor- mation (e.g., selections, combining information) What is a table? Example How can we create this table (in Oracle)? use the DDL (data definition language to create the table) remember: the DDL is used to define the structure (i.e., the static part) of a database as part of the databases meta data information table name attributes / field names attribute / field values record / tuple Employee EmpId Name Birthdate Salary 567 Meyer 03/25/1975 23000 123 Smith 08/17/1959 41000 456 Kirby 05/03/1966 37000 step 1: create the table header (table schema) by using the DDL create table Employee (EmplId integer , Name varchar(25) not null , Birthdate date , Salary numeric(8,2) , primary key (EmplId)); step 2: create the table body (table instance) by using the DML insert into Employee values (567, Meyer, 25-MAR-1975, 23000); insert into Employee values (123, Smith, 17-AUG-1959, 41000);...
View Full Document

This note was uploaded on 01/22/2012 for the course CIS 4301 taught by Professor Schneider during the Fall '08 term at University of Florida.

Page1 / 18

OracleIntroSeminar - What you should have learned after...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online