A detailed guide on how to create databases and tables using Microsoft Access 2016. It covers creating a blank database, defining fields, creating a primary key, and saving the table. The document also includes exercises for creating tables for a car database and a clinic database.
Download Creating Databases and Tables in Microsoft Access 2016: A Step-by-Step Guide and more Slides Database Management Systems (DBMS) in PDF only on Docsity!
1. DATABASE DEFINITION (I)
Database management
software tools
Access 2016 Welcome screen
Create a database (1)
Click on the option Blank database…
Click the File menu on the menu bar and select New…
Create a database (3)
Database window appears
The primary element is Tables
Close database ▫ Click the File menu on the menu bar and select Close
Create a table (1)
Right click on Table 1, then choose Designview.
Click the Home menu on the menu bar and select View, then choose Design view.
Table design window appears Table name : Table Fields not yet defined
Create a table (2)
Define fields
For each field, give: ▫ Name ▫ Type ▫ Description (optional)
Create a table (2)
Create a table (4)
Save the table ▫ Click the File menu on the menu bar and select Save ▫ Enter the name of the table, then click OK
Close the table and start entering data in the table ▫ Click the Home menu on the menu bar and select View, then choose Datasheet view
Exercise 1
Create two databases named:
▫ Cars
▫ Clinic
Exercise 2 (2)
Create another table named Sold Cars with the following fields:
Define License as primary key Field name Data typeLicense Short TextMake Short TextModel Short TextColor Short TextPrice Short TextExtras Long Text
Exercise 2 (3)
Create another table named Services with the following fields:
Define Service Number as primary key
Close the database Field name Data typeService Number AutonumberOil Change Yes/NoFilters Change Yes/NoRevise Brakes Yes/NoOther Long Text
Exercise 3 (2)
Create another table named Doctors with the following fields:
Do not define a primary key Field name Data typeDoctor Code Short TextDoctor Name Short TextDoctor Surname Short TextDoctor Phone Short TextDoctor Specialty Short Text
Exercise 3 (3)
Create another table named Entries with the following fields:
Do not define a primary key
Close the database Field name Data typeEntry Number AutonumberEntry Room NumberEntry BedShort TextEntry Date Date/Time