Lecture 6 -Introduction to Database Systems
Lecture 6 -Introduction to Database Systems
DATABASE
With Microsoft Office Access 2007
Agenda
Getting to Know Database
Basic of Microsoft Office Access 2007
Basic Operations of Database
Structured
Query Language (SQL)
CRUD Operations
Getting to Know Database
Definition of Database
Organized mechanism to store, manage and
retrieve information
Efficient
Robust
Stable
Appropriate Inappropriate
Structured Query
Interface Language
Computer Resources
Access Database
File (*.accdb)
Basic of Access 2007
Microsoft Office Access 2007
Don’t panic! You’ll soon be familiar with it.
Field Types (1/2)
Type Contains
Text String of maximum length
at 255 characters
Memo String
Number Number in multiple format
(Integer, Double, etc.)
Date/Time Date and time
Currency Currency
Field Types (2/2)
Type Contains
AutoNumber Auto generated number
(Increment, Randomized)
Yes/No Boolean (True/False)
OLE Object A certain type of file (not
mentioned)
Hyperlink URL
Attachment File
Basic Operations of Database
Structured Query Language (SQL)
name height
Pongsakorn 170
John 165
CRUD : Retrieve - Practice
Select every record, sort by
STU_ID, ascending
Select name, surname and height of everyone
shorter than 170
Select everyone heavier than 70, sort by
height, descending
CRUD : Update
Organization