SlideShare a Scribd company logo
MODULE 1
MICROSOFT ACCESS
DATABASE TABLES
ALEXANDER BABICH
ALEXANDER.TAURUS@GMAIL.COM
MODULE OVERVIEW
• Table structure
• Creating tables. Field types
• Changing table structure
• Data input. MEMO - fields. OLE field. Hyperlinks
• Using counters. Field titles
• Numeric fields. Input Masks andValue Condition
LESSON 1: CREATING A DATABASE
• DB structure
• Creating tables. Field types
• Change table structure
DATABASE
• formally, a "database" refers to a set of related data and the
way it is organized
• organized collection of data, generally stored and accessed
electronically from a computer system
• access to this data is provided by a "database management
system" (DBMS) – computer software that allows users to
interact with one or more databases and provides access to all of
the data contained in the database. Access is a personal
DBMS
• relational database represents all data
as rows and columns in a series of tables, and the vast
majority use SQL for writing and querying data
DB CLASSIFICATION BY
DATA MODEL
• Hierarchical
• Network
• Relational
• Object
• Object oriented
• Object relationalSQL vs NoSQL
DB CLASSIFICATION BY USER
• Single-user
• Access
• Multiuser
(Enterprise-level)
• SQL Server
• Oracle
• MySQL
• …
DATA RELATIONS INSIDE DB
• relational DB – tables, rows and fields
• each table contains unique data
• the process of breaking your data into smaller
tables is called normalization
• relations via key fields (primary and foreign)
• unique entry identifier
• the field "on the other side" of relation
DATA RELATIONS INSIDE DB
CAREFUL PLANNING NEEDED!
A critical field for all tables
CAREFUL PLANNING NEEDED!
The key to relationships: sharing your keys
TEST QUESTION
What is the function of a primary key? (Pick one answer)
1. To uniquely identify each record in a table
2. To encrypt and decrypt your database
3. To help ensure you enter data in the correct table
TEST QUESTION
Primary keys do all that, and all your tables must have a
primary key field
What is the function of a primary key?
Answer:
1. To uniquely identify each record in a table
TEST QUESTION
You establish a relationship between Table A and Table B by: (Pick
one answer)
1. Merging Table A with Table B
2. Linking Table A with Table B
3. Adding the primary key from Table A to Table B
(or vice-versa)
TEST QUESTION
When you add a primary key field to another table and
create a relationship, that new field becomes a foreign key
You establish a relationship between Table A and Table B by:
Answer:
3. Adding the primary key from Table A to Table B
(or vice-versa)
DB STRUCTURE
• Access database consists of
objects
• Main objects:
tables, queries, forms and
reports
• Macros
• Modules
EXERCISE
1. Imagine a database
2. Write down what exactly
the database was used for
3. Record your intended uses
of the database
SAMPLE SOLUTION
Who, what, when, where, why, and how
SAMPLE SOLUTION
Group your data by subject → Sets of unique information
TABLES
• Standard DB Building Blocks
• essential component of any database
• a containers to store your data
• similar to data lists in Excel
(CTRL+T, CTRL+L inside
region)
• Access database contains at
least one table
TABLES
TABLES
• a table for each object
of the domain
• rows and fields
• information about a particular
person, event, product, or other
item
• separate component
(one piece of data) of the row
TABLES
HOW TO CREATE A TABLE
• New blank table
• DesignView
• Quick start*
Microsoft no longer recommends creating and using Access
web apps in SharePoint. As an alternative, consider
using Microsoft PowerApps to build no-code business
solutions for the web and mobile devices
HOW TO CREATE A TABLE
HOW TO CREATE A TABLE
HOW TO CREATE A TABLE
HOW TO CREATE A TABLE
DATA FIELDS
1. Field name
2. Field type
3. (Primary) key
4. Field properties
FIELDTYPES
• (Short )Text
• up to 255 characters
• Number
• 1,2,4,8 bytes
• Large Number (16)
• (MEMO) LongText
• can contain up to 65535
characters
• Date/Time
• Currency type
• 1-4 decimal places
• up to 15 in the whole part
• 8 bytes
• AutoNumber
• Auto increment
• 4 bytes
• (Boolean) Yes/No
• OLE object
• Hyperlink
• up to 2048 characters
EACH RECORD IS UNIQUE
• there cannot be two identical
rows
• the primary key is the unique
identifier of each row
• how to ensure uniqueness:
• INN
• product code
• employee's number
• auto increment (autonumber)
KEYS
the primary key of one of
the related tables becomes
the foreign key of the
other
HOW TO CHANGE DB
STRUCTURE
• Design view for tables
• creating a data schema
• DatabaseTools → Relationships
EXERCISE
Create a database table to
store information about
employees of a small web
development startup.
What fields are logical to provide in the table?
Which of the following describes a relational database?
(Pick one answer)
1. It provides a relationship between integers
2. It consists of separate tables of related data
3. It retrieves data related to its queries
TEST QUESTION
2. It consists of separate tables of related data
The separate tables are associated with each other through
relationships
TEST QUESTION
Which of the following describes a relational database?
Answer:
TEST QUESTION
Which of the following is not a database object?
(Pick one answer)
1. Table
2. Report
3. Query
4. Worksheet
4. Worksheet
Although you can import worksheets from Microsoft Excel
into your database, worksheets are not database objects
TEST QUESTION
Which of the following is not a database object?
Answer:
What are the main building blocks of a database?
(Pick one answer)
1. Lists
2. Queries
3. Tables
TEST QUESTION
3. Tables.
Every Access database contains one or more tables that
store your data
TEST QUESTION
What are the main building blocks of a database?
(Pick one answer)
Answer:
TEST QUESTION
How many tables should a well-designed database contain?
(Pick one answer)
1. As many as necessary to capture all your data without
redundancy
2. One
3. Two
TEST QUESTION
That can be one table, or it can be dozens
How many tables should a well-designed database contain?
Answer:
1. As many as necessary to capture all your data without
redundancy
Data should be organized into tables based on:
(Pick one answer)
1. Field properties
2. Subjects associated with the data
3. Character lengths
TEST QUESTION
2. Subjects associated with the data
A well structured database has a table for each subject to
which data belongs, such as Employees, Students, or
Products
TEST QUESTION
Data should be organized into tables based on:
Answer:
A row in a table is also known as:
(Pick one answer)
1. A field
2. A record
3. A data type
TEST QUESTION
2. A record.
A row is one record in a table; it contains a collection of data
about something, such as a product or employee. A record
includes data from several fields that might have names like
Unit Price or Employee ID
TEST QUESTION
A row in a table is also known as:
Answer:
A primary key is:
(Pick one answer)
1. A unique identifier that can be used to relate tables
2. The key that precedes the secondary key
3. The password that validates a database
TEST QUESTION
1. A unique identifier that can be used to relate tables.
A primary key distinguishes one record from another and
links data in one table to data in other tables
TEST QUESTION
A primary key is:
Answer:
LESSON 2:WORKING WITH FIELDS
• Data input. MEMO fields. OLE field. Hyperlinks
• Using counter. Field titles
• Numeric fields. Input Masks andValue Condition
MEMO, OLE FIELDS ETC.
• (MEMO) Long Text field
• Can contain up to 65535 characters
• Unicode is used
• OLE field - link to OLE object
• Microsoft Excel sheet
• Microsoft Word document
• Sound, Picture, Video
• ...
• Hyperlinks - file path, web page
• display text
• address (file or page path)
• additional address (position inside file or page)
• tooltip text
• each part of the hyperlink can contain up to 2048 characters
AUTONUMBER
• 4-byte unique number
• Determined automatically for each new record
• either randomly or by increasing the previous value by 1
• Values cannot be updated
• The maximum number of entries in a table with a
counter field must not exceed two billion
LOOKUPWIZARD
• Field property, not real data type
• starts the wizard to create a lookup column
• list of values to choose from when entering data
FIELD CAPTION
• The property that sets the field header (caption)
• displayed in table mode
• It may be the same as the field name, or it may
differ from it
• If not specified,Access uses the field name for
this.
• may contain up to 2048 characters
NUMERIC FIELDS
• Field size - 1, 2, 4, 8 or 16 bytes
• The default is Long Integer
• 4 bytes
• from -2,147,483,648 to +2,147,483,647
• Byte - 1 byte
• Integer - 2 bytes
• Single (float) - 4 bytes
• Double (float) - 8 bytes
• Decimal - 12 bytes
• Replication ID - 16 bytes
• used to identify an entry in the table
INPUT MASK
• intended to facilitate control
over the entry of information in
the field of a table, query or
control of a form or report
• Character string
• regular characters
• brackets, points or hyphens
• Special symbols
• indicate in what positions, in
what quantity and what type of
data can be entered
INPUT MASK
INPUT MASK
EXAMPLES
EXAMPLES
VALIDATION RULE
• Applicable for all fields except AutoNumber and OLE
• If a condition is specified, when the field is saved, it will be
checked
• If the condition is not met, a message is displayed from the
error message (ValidationText)
• If the message text is not specified, a standard message will be
displayed.
• May contain up to 2048 characters
• Error Message (ValidationText) - up to 255 characters
EXAMPLES
EXAMPLES
EXERCISE
• Create a database of your home
library
• Consider the tables and their fields
• book author
• book title
• publisher
• number of pages
• Create tables and links
between them
BOTTOM LINE
• Table structure
• Creating tables. Field types
• Change table structure
• Data input. MEMO, OLE, Hyperlinks
• Auto Number. Field captions
• Numeric fields. Input Masks andValidation Rules
ACCESSVIDEOTRAINING
http://access.company/training
QUESTIONS?

More Related Content

What's hot

Ms access tutorial
Ms access tutorialMs access tutorial
Ms access tutorialminga48
 
Welcome-slides-durham-tech
Welcome-slides-durham-techWelcome-slides-durham-tech
Welcome-slides-durham-tech
djl0525
 
Tutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft AccessTutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft Accessmcclellm
 
Microsoft Access 2007: Get To Know Access
Microsoft Access 2007: Get To Know AccessMicrosoft Access 2007: Get To Know Access
Microsoft Access 2007: Get To Know Access
omoviejohn
 
Access2007 part1
Access2007 part1Access2007 part1
Access2007 part1
jigeno
 
Microsoft Access Notes 2007 Ecdl
Microsoft Access Notes 2007 EcdlMicrosoft Access Notes 2007 Ecdl
Microsoft Access Notes 2007 Ecdl
Richard Butler
 
Waiting too long for Excel's VLOOKUP? Use SQLite for simple data analysis!
Waiting too long for Excel's VLOOKUP? Use SQLite for simple data analysis!Waiting too long for Excel's VLOOKUP? Use SQLite for simple data analysis!
Waiting too long for Excel's VLOOKUP? Use SQLite for simple data analysis!
Amanda Lam
 
Uses of MS Access in Business
Uses of MS Access in BusinessUses of MS Access in Business
Uses of MS Access in Business
Biswajit Bhattacharjee
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
skomadina
 
BAB 5 Lembaran kerja (1)
BAB 5   Lembaran kerja (1)BAB 5   Lembaran kerja (1)
BAB 5 Lembaran kerja (1)
Nur Salsabila Edu
 
Web designing
Web designingWeb designing
Web designing
Prof. Dr. K. Adisesha
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access TutorialvirtualMaryam
 
Learn about excel
Learn about excelLearn about excel
Learn about excel
PreetiManjri
 
Database Indexes
Database IndexesDatabase Indexes
Database Indexes
Sperasoft
 
MS Access Training
MS Access TrainingMS Access Training
MS Access Training
Michael Sheyahshe
 
Excel Crash Course
Excel Crash CourseExcel Crash Course
Excel Crash Course
Michael Olafusi
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007
Reshma Arun
 

What's hot (19)

Ms access tutorial
Ms access tutorialMs access tutorial
Ms access tutorial
 
Welcome-slides-durham-tech
Welcome-slides-durham-techWelcome-slides-durham-tech
Welcome-slides-durham-tech
 
Tutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft AccessTutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft Access
 
Microsoft Access 2007: Get To Know Access
Microsoft Access 2007: Get To Know AccessMicrosoft Access 2007: Get To Know Access
Microsoft Access 2007: Get To Know Access
 
Access2007 part1
Access2007 part1Access2007 part1
Access2007 part1
 
Microsoft Access Notes 2007 Ecdl
Microsoft Access Notes 2007 EcdlMicrosoft Access Notes 2007 Ecdl
Microsoft Access Notes 2007 Ecdl
 
Waiting too long for Excel's VLOOKUP? Use SQLite for simple data analysis!
Waiting too long for Excel's VLOOKUP? Use SQLite for simple data analysis!Waiting too long for Excel's VLOOKUP? Use SQLite for simple data analysis!
Waiting too long for Excel's VLOOKUP? Use SQLite for simple data analysis!
 
Uses of MS Access in Business
Uses of MS Access in BusinessUses of MS Access in Business
Uses of MS Access in Business
 
Nota ms access 2007
Nota ms access 2007Nota ms access 2007
Nota ms access 2007
 
Access 2007 lesson1
Access 2007 lesson1Access 2007 lesson1
Access 2007 lesson1
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
 
BAB 5 Lembaran kerja (1)
BAB 5   Lembaran kerja (1)BAB 5   Lembaran kerja (1)
BAB 5 Lembaran kerja (1)
 
Web designing
Web designingWeb designing
Web designing
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access Tutorial
 
Learn about excel
Learn about excelLearn about excel
Learn about excel
 
Database Indexes
Database IndexesDatabase Indexes
Database Indexes
 
MS Access Training
MS Access TrainingMS Access Training
MS Access Training
 
Excel Crash Course
Excel Crash CourseExcel Crash Course
Excel Crash Course
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007
 

Similar to Access 01

01 Microsoft Access
01 Microsoft Access01 Microsoft Access
MS ACCESS
MS ACCESSMS ACCESS
microsoft_access_working_with_forms_and_generating_reports__107.ppt
microsoft_access_working_with_forms_and_generating_reports__107.pptmicrosoft_access_working_with_forms_and_generating_reports__107.ppt
microsoft_access_working_with_forms_and_generating_reports__107.ppt
Kunle Faseyi
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
Muhd Dembo
 
Access 05
Access 05Access 05
Access 05
Alexander Babich
 
•Design (create) 3 questions for a quiz show game and design regular.pdf
•Design (create) 3 questions for a quiz show game and design regular.pdf•Design (create) 3 questions for a quiz show game and design regular.pdf
•Design (create) 3 questions for a quiz show game and design regular.pdf
jyothimuppasani1
 
Access essential training framework
Access essential training   frameworkAccess essential training   framework
Access essential training framework
Vijay Perepa
 
Data Base Management System.pdf
Data Base Management System.pdfData Base Management System.pdf
Data Base Management System.pdf
TENZING LHADON
 
Ms access
Ms accessMs access
Ms access
RoshanMaharjan13
 
Access 03
Access 03Access 03
Access 03
Alexander Babich
 
Session 1 - Databases-JUNE 2023.pdf
Session 1 - Databases-JUNE 2023.pdfSession 1 - Databases-JUNE 2023.pdf
Session 1 - Databases-JUNE 2023.pdf
SwapnilSaurav7
 
Sql introduction
Sql introductionSql introduction
Sql introduction
Bhavya Chawla
 
php databse handling
php databse handlingphp databse handling
php databse handling
kunj desai
 
Tk2323 lecture 7 sql
Tk2323 lecture 7   sql Tk2323 lecture 7   sql
Tk2323 lecture 7 sql
MengChun Lam
 
Feb 2nd Makeup Class
Feb 2nd Makeup ClassFeb 2nd Makeup Class
Feb 2nd Makeup Class
George Saban
 
MS ACCESS.pptx
MS ACCESS.pptxMS ACCESS.pptx
MS ACCESS.pptx
MattMarino13
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
Obuasi Senior High Technical School
 
Web Application Development using PHP Chapter 6
Web Application Development using PHP Chapter 6Web Application Development using PHP Chapter 6
Web Application Development using PHP Chapter 6
Mohd Harris Ahmad Jaal
 
SQLDay2013_Denny Cherry - Table indexing for the .NET Developer
SQLDay2013_Denny Cherry - Table indexing for the .NET DeveloperSQLDay2013_Denny Cherry - Table indexing for the .NET Developer
SQLDay2013_Denny Cherry - Table indexing for the .NET DeveloperPolish SQL Server User Group
 

Similar to Access 01 (20)

01 Microsoft Access
01 Microsoft Access01 Microsoft Access
01 Microsoft Access
 
MS ACCESS
MS ACCESSMS ACCESS
MS ACCESS
 
microsoft_access_working_with_forms_and_generating_reports__107.ppt
microsoft_access_working_with_forms_and_generating_reports__107.pptmicrosoft_access_working_with_forms_and_generating_reports__107.ppt
microsoft_access_working_with_forms_and_generating_reports__107.ppt
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Access 05
Access 05Access 05
Access 05
 
•Design (create) 3 questions for a quiz show game and design regular.pdf
•Design (create) 3 questions for a quiz show game and design regular.pdf•Design (create) 3 questions for a quiz show game and design regular.pdf
•Design (create) 3 questions for a quiz show game and design regular.pdf
 
Access essential training framework
Access essential training   frameworkAccess essential training   framework
Access essential training framework
 
Data Base Management System.pdf
Data Base Management System.pdfData Base Management System.pdf
Data Base Management System.pdf
 
SQL_Part1
SQL_Part1SQL_Part1
SQL_Part1
 
Ms access
Ms accessMs access
Ms access
 
Access 03
Access 03Access 03
Access 03
 
Session 1 - Databases-JUNE 2023.pdf
Session 1 - Databases-JUNE 2023.pdfSession 1 - Databases-JUNE 2023.pdf
Session 1 - Databases-JUNE 2023.pdf
 
Sql introduction
Sql introductionSql introduction
Sql introduction
 
php databse handling
php databse handlingphp databse handling
php databse handling
 
Tk2323 lecture 7 sql
Tk2323 lecture 7   sql Tk2323 lecture 7   sql
Tk2323 lecture 7 sql
 
Feb 2nd Makeup Class
Feb 2nd Makeup ClassFeb 2nd Makeup Class
Feb 2nd Makeup Class
 
MS ACCESS.pptx
MS ACCESS.pptxMS ACCESS.pptx
MS ACCESS.pptx
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
 
Web Application Development using PHP Chapter 6
Web Application Development using PHP Chapter 6Web Application Development using PHP Chapter 6
Web Application Development using PHP Chapter 6
 
SQLDay2013_Denny Cherry - Table indexing for the .NET Developer
SQLDay2013_Denny Cherry - Table indexing for the .NET DeveloperSQLDay2013_Denny Cherry - Table indexing for the .NET Developer
SQLDay2013_Denny Cherry - Table indexing for the .NET Developer
 

More from Alexander Babich

Актуальні курси з мого арсеналу (Бабич О.В.)
Актуальні курси з мого арсеналу (Бабич О.В.)Актуальні курси з мого арсеналу (Бабич О.В.)
Актуальні курси з мого арсеналу (Бабич О.В.)
Alexander Babich
 
M365: Word, Excel, PowerPoint...
M365: Word, Excel, PowerPoint...M365: Word, Excel, PowerPoint...
M365: Word, Excel, PowerPoint...
Alexander Babich
 
M365: Інші сервіси та застосунки
M365: Інші сервіси та застосункиM365: Інші сервіси та застосунки
M365: Інші сервіси та застосунки
Alexander Babich
 
M365: OneDrive
M365: OneDriveM365: OneDrive
M365: OneDrive
Alexander Babich
 
M365: Завершення
M365: ЗавершенняM365: Завершення
M365: Завершення
Alexander Babich
 
M365: SharePoint
M365: SharePointM365: SharePoint
M365: SharePoint
Alexander Babich
 
M365: рекомендації
M365: рекомендаціїM365: рекомендації
M365: рекомендації
Alexander Babich
 
M365: Огляд платформи Microsoft365
M365: Огляд платформи Microsoft365M365: Огляд платформи Microsoft365
M365: Огляд платформи Microsoft365
Alexander Babich
 
M365: Вступ
M365: ВступM365: Вступ
M365: Вступ
Alexander Babich
 
M365: Роздаткові матеріали
M365: Роздаткові матеріалиM365: Роздаткові матеріали
M365: Роздаткові матеріали
Alexander Babich
 
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptxMeet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Alexander Babich
 
Ви обрали професію програміста
Ви обрали професію програмістаВи обрали професію програміста
Ви обрали професію програміста
Alexander Babich
 
Змішане навчання в ППФК
Змішане навчання в ППФКЗмішане навчання в ППФК
Змішане навчання в ППФК
Alexander Babich
 
Формування професійних інтересів студентів
Формування професійних інтересів студентівФормування професійних інтересів студентів
Формування професійних інтересів студентів
Alexander Babich
 
День відкритих дверей' 2021
День відкритих дверей' 2021День відкритих дверей' 2021
День відкритих дверей' 2021
Alexander Babich
 
Спробуйте Python
Спробуйте PythonСпробуйте Python
Спробуйте Python
Alexander Babich
 
06. Обучение и сертификация по Azure
06. Обучение и сертификация по Azure06. Обучение и сертификация по Azure
06. Обучение и сертификация по Azure
Alexander Babich
 
05.Внедрение Azure
05.Внедрение Azure05.Внедрение Azure
05.Внедрение Azure
Alexander Babich
 
04.Службы Azure - подробнее
04.Службы Azure - подробнее04.Службы Azure - подробнее
04.Службы Azure - подробнее
Alexander Babich
 
03.Сколько стоит облако
03.Сколько стоит облако03.Сколько стоит облако
03.Сколько стоит облако
Alexander Babich
 

More from Alexander Babich (20)

Актуальні курси з мого арсеналу (Бабич О.В.)
Актуальні курси з мого арсеналу (Бабич О.В.)Актуальні курси з мого арсеналу (Бабич О.В.)
Актуальні курси з мого арсеналу (Бабич О.В.)
 
M365: Word, Excel, PowerPoint...
M365: Word, Excel, PowerPoint...M365: Word, Excel, PowerPoint...
M365: Word, Excel, PowerPoint...
 
M365: Інші сервіси та застосунки
M365: Інші сервіси та застосункиM365: Інші сервіси та застосунки
M365: Інші сервіси та застосунки
 
M365: OneDrive
M365: OneDriveM365: OneDrive
M365: OneDrive
 
M365: Завершення
M365: ЗавершенняM365: Завершення
M365: Завершення
 
M365: SharePoint
M365: SharePointM365: SharePoint
M365: SharePoint
 
M365: рекомендації
M365: рекомендаціїM365: рекомендації
M365: рекомендації
 
M365: Огляд платформи Microsoft365
M365: Огляд платформи Microsoft365M365: Огляд платформи Microsoft365
M365: Огляд платформи Microsoft365
 
M365: Вступ
M365: ВступM365: Вступ
M365: Вступ
 
M365: Роздаткові матеріали
M365: Роздаткові матеріалиM365: Роздаткові матеріали
M365: Роздаткові матеріали
 
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptxMeet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptx
 
Ви обрали професію програміста
Ви обрали професію програмістаВи обрали професію програміста
Ви обрали професію програміста
 
Змішане навчання в ППФК
Змішане навчання в ППФКЗмішане навчання в ППФК
Змішане навчання в ППФК
 
Формування професійних інтересів студентів
Формування професійних інтересів студентівФормування професійних інтересів студентів
Формування професійних інтересів студентів
 
День відкритих дверей' 2021
День відкритих дверей' 2021День відкритих дверей' 2021
День відкритих дверей' 2021
 
Спробуйте Python
Спробуйте PythonСпробуйте Python
Спробуйте Python
 
06. Обучение и сертификация по Azure
06. Обучение и сертификация по Azure06. Обучение и сертификация по Azure
06. Обучение и сертификация по Azure
 
05.Внедрение Azure
05.Внедрение Azure05.Внедрение Azure
05.Внедрение Azure
 
04.Службы Azure - подробнее
04.Службы Azure - подробнее04.Службы Azure - подробнее
04.Службы Azure - подробнее
 
03.Сколько стоит облако
03.Сколько стоит облако03.Сколько стоит облако
03.Сколько стоит облако
 

Recently uploaded

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 

Recently uploaded (20)

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 

Access 01

  • 1. MODULE 1 MICROSOFT ACCESS DATABASE TABLES ALEXANDER BABICH ALEXANDER.TAURUS@GMAIL.COM
  • 2. MODULE OVERVIEW • Table structure • Creating tables. Field types • Changing table structure • Data input. MEMO - fields. OLE field. Hyperlinks • Using counters. Field titles • Numeric fields. Input Masks andValue Condition
  • 3. LESSON 1: CREATING A DATABASE • DB structure • Creating tables. Field types • Change table structure
  • 4. DATABASE • formally, a "database" refers to a set of related data and the way it is organized • organized collection of data, generally stored and accessed electronically from a computer system • access to this data is provided by a "database management system" (DBMS) – computer software that allows users to interact with one or more databases and provides access to all of the data contained in the database. Access is a personal DBMS • relational database represents all data as rows and columns in a series of tables, and the vast majority use SQL for writing and querying data
  • 5. DB CLASSIFICATION BY DATA MODEL • Hierarchical • Network • Relational • Object • Object oriented • Object relationalSQL vs NoSQL
  • 6. DB CLASSIFICATION BY USER • Single-user • Access • Multiuser (Enterprise-level) • SQL Server • Oracle • MySQL • …
  • 7. DATA RELATIONS INSIDE DB • relational DB – tables, rows and fields • each table contains unique data • the process of breaking your data into smaller tables is called normalization • relations via key fields (primary and foreign) • unique entry identifier • the field "on the other side" of relation
  • 9. CAREFUL PLANNING NEEDED! A critical field for all tables
  • 10. CAREFUL PLANNING NEEDED! The key to relationships: sharing your keys
  • 11. TEST QUESTION What is the function of a primary key? (Pick one answer) 1. To uniquely identify each record in a table 2. To encrypt and decrypt your database 3. To help ensure you enter data in the correct table
  • 12. TEST QUESTION Primary keys do all that, and all your tables must have a primary key field What is the function of a primary key? Answer: 1. To uniquely identify each record in a table
  • 13. TEST QUESTION You establish a relationship between Table A and Table B by: (Pick one answer) 1. Merging Table A with Table B 2. Linking Table A with Table B 3. Adding the primary key from Table A to Table B (or vice-versa)
  • 14. TEST QUESTION When you add a primary key field to another table and create a relationship, that new field becomes a foreign key You establish a relationship between Table A and Table B by: Answer: 3. Adding the primary key from Table A to Table B (or vice-versa)
  • 15. DB STRUCTURE • Access database consists of objects • Main objects: tables, queries, forms and reports • Macros • Modules
  • 16. EXERCISE 1. Imagine a database 2. Write down what exactly the database was used for 3. Record your intended uses of the database
  • 17. SAMPLE SOLUTION Who, what, when, where, why, and how
  • 18. SAMPLE SOLUTION Group your data by subject → Sets of unique information
  • 19. TABLES • Standard DB Building Blocks • essential component of any database • a containers to store your data • similar to data lists in Excel (CTRL+T, CTRL+L inside region) • Access database contains at least one table
  • 21. TABLES • a table for each object of the domain • rows and fields • information about a particular person, event, product, or other item • separate component (one piece of data) of the row
  • 23. HOW TO CREATE A TABLE • New blank table • DesignView • Quick start* Microsoft no longer recommends creating and using Access web apps in SharePoint. As an alternative, consider using Microsoft PowerApps to build no-code business solutions for the web and mobile devices
  • 24. HOW TO CREATE A TABLE
  • 25. HOW TO CREATE A TABLE
  • 26. HOW TO CREATE A TABLE
  • 27. HOW TO CREATE A TABLE
  • 28. DATA FIELDS 1. Field name 2. Field type 3. (Primary) key 4. Field properties
  • 29. FIELDTYPES • (Short )Text • up to 255 characters • Number • 1,2,4,8 bytes • Large Number (16) • (MEMO) LongText • can contain up to 65535 characters • Date/Time • Currency type • 1-4 decimal places • up to 15 in the whole part • 8 bytes • AutoNumber • Auto increment • 4 bytes • (Boolean) Yes/No • OLE object • Hyperlink • up to 2048 characters
  • 30. EACH RECORD IS UNIQUE • there cannot be two identical rows • the primary key is the unique identifier of each row • how to ensure uniqueness: • INN • product code • employee's number • auto increment (autonumber)
  • 31. KEYS the primary key of one of the related tables becomes the foreign key of the other
  • 32. HOW TO CHANGE DB STRUCTURE • Design view for tables • creating a data schema • DatabaseTools → Relationships
  • 33. EXERCISE Create a database table to store information about employees of a small web development startup. What fields are logical to provide in the table?
  • 34. Which of the following describes a relational database? (Pick one answer) 1. It provides a relationship between integers 2. It consists of separate tables of related data 3. It retrieves data related to its queries TEST QUESTION
  • 35. 2. It consists of separate tables of related data The separate tables are associated with each other through relationships TEST QUESTION Which of the following describes a relational database? Answer:
  • 36. TEST QUESTION Which of the following is not a database object? (Pick one answer) 1. Table 2. Report 3. Query 4. Worksheet
  • 37. 4. Worksheet Although you can import worksheets from Microsoft Excel into your database, worksheets are not database objects TEST QUESTION Which of the following is not a database object? Answer:
  • 38. What are the main building blocks of a database? (Pick one answer) 1. Lists 2. Queries 3. Tables TEST QUESTION
  • 39. 3. Tables. Every Access database contains one or more tables that store your data TEST QUESTION What are the main building blocks of a database? (Pick one answer) Answer:
  • 40. TEST QUESTION How many tables should a well-designed database contain? (Pick one answer) 1. As many as necessary to capture all your data without redundancy 2. One 3. Two
  • 41. TEST QUESTION That can be one table, or it can be dozens How many tables should a well-designed database contain? Answer: 1. As many as necessary to capture all your data without redundancy
  • 42. Data should be organized into tables based on: (Pick one answer) 1. Field properties 2. Subjects associated with the data 3. Character lengths TEST QUESTION
  • 43. 2. Subjects associated with the data A well structured database has a table for each subject to which data belongs, such as Employees, Students, or Products TEST QUESTION Data should be organized into tables based on: Answer:
  • 44. A row in a table is also known as: (Pick one answer) 1. A field 2. A record 3. A data type TEST QUESTION
  • 45. 2. A record. A row is one record in a table; it contains a collection of data about something, such as a product or employee. A record includes data from several fields that might have names like Unit Price or Employee ID TEST QUESTION A row in a table is also known as: Answer:
  • 46. A primary key is: (Pick one answer) 1. A unique identifier that can be used to relate tables 2. The key that precedes the secondary key 3. The password that validates a database TEST QUESTION
  • 47. 1. A unique identifier that can be used to relate tables. A primary key distinguishes one record from another and links data in one table to data in other tables TEST QUESTION A primary key is: Answer:
  • 48. LESSON 2:WORKING WITH FIELDS • Data input. MEMO fields. OLE field. Hyperlinks • Using counter. Field titles • Numeric fields. Input Masks andValue Condition
  • 49. MEMO, OLE FIELDS ETC. • (MEMO) Long Text field • Can contain up to 65535 characters • Unicode is used • OLE field - link to OLE object • Microsoft Excel sheet • Microsoft Word document • Sound, Picture, Video • ... • Hyperlinks - file path, web page • display text • address (file or page path) • additional address (position inside file or page) • tooltip text • each part of the hyperlink can contain up to 2048 characters
  • 50. AUTONUMBER • 4-byte unique number • Determined automatically for each new record • either randomly or by increasing the previous value by 1 • Values cannot be updated • The maximum number of entries in a table with a counter field must not exceed two billion
  • 51. LOOKUPWIZARD • Field property, not real data type • starts the wizard to create a lookup column • list of values to choose from when entering data
  • 52. FIELD CAPTION • The property that sets the field header (caption) • displayed in table mode • It may be the same as the field name, or it may differ from it • If not specified,Access uses the field name for this. • may contain up to 2048 characters
  • 53. NUMERIC FIELDS • Field size - 1, 2, 4, 8 or 16 bytes • The default is Long Integer • 4 bytes • from -2,147,483,648 to +2,147,483,647 • Byte - 1 byte • Integer - 2 bytes • Single (float) - 4 bytes • Double (float) - 8 bytes • Decimal - 12 bytes • Replication ID - 16 bytes • used to identify an entry in the table
  • 54. INPUT MASK • intended to facilitate control over the entry of information in the field of a table, query or control of a form or report • Character string • regular characters • brackets, points or hyphens • Special symbols • indicate in what positions, in what quantity and what type of data can be entered
  • 59. VALIDATION RULE • Applicable for all fields except AutoNumber and OLE • If a condition is specified, when the field is saved, it will be checked • If the condition is not met, a message is displayed from the error message (ValidationText) • If the message text is not specified, a standard message will be displayed. • May contain up to 2048 characters • Error Message (ValidationText) - up to 255 characters
  • 62. EXERCISE • Create a database of your home library • Consider the tables and their fields • book author • book title • publisher • number of pages • Create tables and links between them
  • 63. BOTTOM LINE • Table structure • Creating tables. Field types • Change table structure • Data input. MEMO, OLE, Hyperlinks • Auto Number. Field captions • Numeric fields. Input Masks andValidation Rules