Introduction To Databases
Introduction To Databases
Session 1B
Introduction to Databases
ISCG 5423
Introduction to Databases
Why learn about Databases?
What is a Database?
Who uses Databases and why?
Do you use a Database?
Who designs/develops Databases?
- What skills are required?
Relationship between data items
turns data into information
Database
What is a database?
Examples:
Database application
What is a database application?
Evolution of Databases
DB2
MySQL
Data
Information
Database
Database Application
Database Management System (DBMS)
Exercise 1 – The data source
1. From Moodle download file Person.xls and
store it in your own area.
2. Open this file in MS Excel
Questions:
• What is stored?
• Notice Rows and Columns
What is in each?
1. Open MS Access
2. Create a new blank database
3. Call the database ‘ClientContact’
4. Select External Data, MS Excel
5. Select ‘Person.xls’
6. Click ‘First row contains column headings’
Exercise 2 – Import cont’d
8. Click NEXT
9. Select ‘In a new table’ and click NEXT
10. Change fieldnames to something more useful
11. Leave ‘indexed’ on NO, click NEXT
12. Select ‘No Primary Key’ and click NEXT
13. Change table name from ‘Sheet1’ to ‘CLIENT1’
and click FINISH
Questions
What is the equivalent of an Excel worksheet
called in Access?
Question:
How has the table changed?
Have duplicate records been removed?
Duplicate Records - again
Using a PK does not remove duplicate records
Business processes need to be set up to avoid
the creation of duplicate records
Databases need to be checked and ‘cleansed’ to
removed duplicate data.
Good Database Design (3)