A short introduction to database systems.ppt

9
Rafael Tolosana 19 th February 2009 A short Introduction To Database Systems

description

 

Transcript of A short introduction to database systems.ppt

Page 1: A short introduction to  database systems.ppt

Rafael Tolosana19th February 2009

A short Introduction To Database Systems

Page 2: A short introduction to  database systems.ppt

About myselfProfesor Ayudante (Graduate Assistant

Professor) at the Computer Science and Systems Engineering Department

Email address [email protected] for student advice (tutorías)

Mondays 10-14 hours

Page 3: A short introduction to  database systems.ppt

Vocabulary for todayDatabaseRelational

DatabaseTableRelationTo RetrieveTo Query / queryFormReportTuple or RecordAttribute

Base de datosBase de datos

relacionalTablaRelaciónRecuperarConsultar/ consultaFormularioInformeTupla o RegistroAtributo

Page 4: A short introduction to  database systems.ppt

Information vs DataInformation: facts

about a situation, person, event, etc.

Data = Organised / Structured information

Information Systemi.e. google

Database management systemi.e. the Social

Security Database Management System

Page 5: A short introduction to  database systems.ppt

Database ConceptDefinition: A database is a collection of

elements that allows you to store data, organise it and retrieve it in any way you want.

There are many different types of databases, the most utilised one is the relational database type

Page 6: A short introduction to  database systems.ppt

Relational DatabaseDefinition: A Relational Database is a

collection of relations which are frequently called tables (but also relations)

Elements of a Table

or Table

Picture extracted from Wikipedia

Record or

Page 7: A short introduction to  database systems.ppt

Table Example: Student info at unizar

Student PIN

Student Name

AddressEmail

Address

456913541131221023

Rafael Tolosana [email protected]

John SmithCarlos Pérez

María de Luna, s/n

María de Luna, s/n

María de Luna, s/n

[email protected]

[email protected]

Page 8: A short introduction to  database systems.ppt

Operations in a Relational DatabaseTables can be related one another

RDBMSs provide functionality for relating tables

Operations within a table:Insert a record (row) Delete a recordUpdate a recordQuery for specific records that satisfy a

condition

Page 9: A short introduction to  database systems.ppt

Table Example: Student info at unizar

Student PIN

Student Name

AddressEmail

Address

456913541131221023

Rafael Tolosana [email protected]

John SmithCarlos Pérez

María de Luna, s/n

María de Luna, s/n

María de Luna, s/n

[email protected]

[email protected]