Presentation is loading. Please wait.

Presentation is loading. Please wait.

5 Aug 20141 Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.

Similar presentations


Presentation on theme: "5 Aug 20141 Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through."— Presentation transcript:

1 5 Aug 20141 Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through forms Build complex queries Create reports Competitors: Oracle, PostgreSQL, MySQL 1

2 5 Aug 201422 Slide only for explanation, database theory will not be asked at exam Single-table databases Fields and records 1.Header in the first line 2.Same content for every field 3.Each record refers to a single object 4.Records are independent 5.Records and fields are disordered 6.No field which can be calculated

3 5 Aug 201433 Slide only for explanation, database theory will not be asked at exam Multiple-table databases Primary key ID Structured tables connected via relations “one to many” or “many to one” Foreign key “many to many”: junction table

4 5 Aug 2014 4 Slide only for explanation, database theory will not be asked at exam Example: Your library It is a database of your books and their authors. Suppose that each book has only one author.

5 5 Aug 2014 5 It is a database which handles data regarding students and their exams. Slide only for explanation, database theory will not be asked at exam Example: students and exams

6 Expanded with information on professors and their exams Many to many relation  another extra table 6 Slide only for explanation, database theory will not be asked at exam Example: students and exams 2 5 Aug 20146

7 Northwind database example 5 Aug 20147 Northwind 2003 database example Copy the file to your Desktop Enable Access saves automatically data modifications!!!  Undo is possible only for the last action  File  Save Saves only created objects inside the database file To duplicate the database  File  Save Database As 7

8 Table 5 Aug 20148 Northwind database overview  Home  View  Datasheet View  Home  View  Design View Fields types Text: max 255 alphanumeric characters Memo: max 65,535 characters Number and Currency and Autonumber Date/Time Yes/No OLE object: link or embed external objects Hyperlink Primary key 8

9 Select query 5 Aug 20149 a question which produces a virtual table called view  Create  Queries  Query Wizard  Home  View  Design View Show Sorting Criteria Other fields values The query asks for a value  Query  Show tables

10 Select query: virtual fields 5 Aug 201410 Expression builder Functions: DateDiff, DateAdd, Year, Date Operators: Between, Like * ? Expression builder for validation rules and in table validation rules: Like


Download ppt "5 Aug 20141 Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through."

Similar presentations


Ads by Google