a2 database work

4
Review of database basics

Upload: cwest

Post on 17-Jun-2015

238 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: A2 database work

Review of

database basics

Page 2: A2 database work

Where are databases used to store personal information?

What personal information do you think is stored in databases?

Page 3: A2 database work

A2 Applied ICT

FieldsAttributes ‘atomic’

Data typesPrimary key

Validation rulesInput masks

L: letter A-Z (required)?: letter A-Z (optional)0: number 0-9 (required)9: number (optional)

range (or limit) check, e.g. between 10 and 20, >10

list check, e.g. ‘a’ OR ‘b’ OR ‘c’(better as a dropdown list)

Design a database to store personal information of 6th Form students

Page 4: A2 database work

A2 Applied ICT

tables queries(select some data only)

macros

forms(on screen)

reports(on paper)

what the user can see

add a new student

see all studentssee all in Year

13

add a new student

see all studentssee all in Year

13

list of all students

list of all in Year 13

list of all students

list of all in Year 13

??

Design a database to store personal information of 6th Form students