Lecture03 - What you should have learned after this lecture some basic concepts of Oracle what conceptual database design means and why it is

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

View Full Document Right Arrow Icon
What you should have learned after this lecture . .. some basic concepts of Oracle what conceptual database design means and why it is important what the Entity-Relationship Model and its essential concepts are what an entity set is what a relationship set is
Background image of page 1

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

View Full DocumentRight Arrow Icon
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)
Background image of page 2
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 database’s 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
Background image of page 3

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

View Full DocumentRight Arrow Icon
± 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
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/14/2012 for the course COP 5725 taught by Professor Staff during the Spring '08 term at University of Florida.

Page1 / 12

Lecture03 - What you should have learned after this lecture some basic concepts of Oracle what conceptual database design means and why it is

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