SlideShare a Scribd company logo
1 of 22
Test 1 Review




10/22/2012                   1
Database
  Collection of related data and tools to use, manage
   data
  Relational database
        Data stored in tables
        Each table stores data about one thing
        Common values create connections (relationships)
             between tables




10/22/2012                                                  2
Fields, Records, and Tables
  Fields
     Basic unit of data represented by a column in a table
      datasheet
  Records
     Group of related fields or all fields related to a specific
      item: person, place, or thing
     Each row of a datasheet represent a record
  Tables
     Group of related records


10/22/2012                                                          3
Planning a Database
  What information do you want to obtain?
  What data elements (fields) must you include to be able to get
   the information?
  What types of data will you enter into each field?
        Dates, numeric values, amounts of money, text, etc.
  What fields of data relate to the same basic items and belong
   grouped together?
  How do the groups of data relate to each other?
  What questions will you need the database to be able to answer?
  What is the most efficient way to get data into the database
   tables?


10/22/2012                                                           4
Creating Tables
  Each table should contain fields that focus on data
     specific to one type of item
        Such as customers, employees, inventory, etc.
  Each table should have a primary key
     Fields in the primary key cannot be empty (null)
     May be one or more fields
  Each generic field# heading is replaced with a
     descriptive field name



10/22/2012                                               5
Table Design Guidelines
  Store all necessary data
  Store data in smallest parts
  Avoid calculations




10/22/2012                        6
Using Table Design View
  Presents a blank work area on which to enter
   fields
  Provides tools for setting data
   types, descriptions, and properties
  Enables you to change the structure and
   organization of fields in the table



10/22/2012                                        7
Entering Field Names
  Field names:
     Short but descriptive
     Can contain alpha-numeric characters
     Can contain many symbols
     Can contain spaces
     Must start with a character or symbol
  May use naming convention
     Identify table, data type, and field description



10/22/2012                                               8
Identifying Data Types
    Data types identify the kind of data to be added to a
       field
          Text
          Numbers
          Dates/Times
          Currency
    Setting a data type controls values that the field
       contains


10/22/2012                                                   9
AutoNumber Fields
  Fields that automatically number records as you add
   them to a table
  Numbers can’t be entered or changed by user
  If you delete a record from a table, or cancel a new
   row, Access never assigns the number to any new
   record




10/22/2012                                                10
Field Properties
  Field Size determines how much data can be stored
     Some data type sizes are fixed – date/time, yes/no
  Format controls how a value is displayed
  Input Mask controls which keyboard entries will be
   required and accepted
  Validation Rule sets limits on values that a field will
   accept
        Validation Rule applies regardless of how data is entered
         or changed
        Set Validation Text to explain how to correct an entry
10/22/2012                                                           11
Operators
  Operators are used in validation, calculations and
   queries
  Comparison Operators:
        Relational Operators (=, >, <, <>, >=, <=)
        Patterns (Like)
        Compare to a list (In)
  Logical operators define how to tie tests together
     And, Or, Not



10/22/2012                                              12
Using Wildcards
  Used in patterns instead of specific characters
  Primary wildcards used:
     * Represents any number of characters
     ? Represents an individual character
  Examples:
     *Graham* locates all records with graham within the
      text
     Gra?am locates all records with gra at the beginning of
      the field value and am at the end of the field value with
      only one letter between
10/22/2012                                                        13
Relational Databases
  Have more than one table where tables are related to
     each other
        One to one
        One to many
        Many to many
  A combination of fields may be used for the table’s
     primary key




10/22/2012                                                14
One to Many Relationships
 Each table contains data about a specific subject
  (customers, loans)
 Each table on the ‘one’ side has a primary key
 Primary key of the “one” table is a foreign key in the
  many table
Many to Many Relationships
 Two tables are related, but can have many records in
 each table in common
   One student can attend many courses; one course can be
    attended by many students
 Implement a many to many relationship by creating a
 pair of one to many relationships with a third table
   Third table is often referred to as a “join” or “junction”
    table
   Entries in the join table point to rows in the original
    tables
Foreign Key
 A foreign key points to a record in another table
 Foreign key “looks like” the related primary key
    Same number of fields
    Data types for each field must match
    Field names don’t matter
Referential Integrity
 Makes sure that the records in related tables are
 consistent
   Must have a customer in the customer table for an order
    assigned to that customer
   Avoids “orphans”
 Cannot delete a record or change the primary key in
 the one table when associated records are in the many
 table, unless have cascade delete and cascade update
 enabled
Editing Data
 Making new entries, changing existing entries, and
 deleting rows are all affected by referential integrity
   A customer can be added at any time
   Must have a customer before a loan can be entered and
    associated with a customer
       Referential integrity doesn’t require entry into a foreign key
   Can delete a loan at any time, but can only delete a
    customer if they don’t have any loans (assuming no
    cascade delete)
Cascading Changes
 When referential integrity is enforced can choose to
 include Cascade Update and/or Cascade Delete
   Cascade update passes changes to the primary key of the
    “one” table to the related rows in the “many” table
   Cascade delete removes rows from the “many” table
    when a primary key (row) is deleted from the “one” table
Relationships Window
 Where relationships between tables are created and
  defined
 Related fields must have the same data type
    Autonumber is related to number field with long integer
     field size

 The one table has a 1 next to it; the many has a    next
  to it
Autolookup Queries
 Use queries to automatically look up data from related
  tables
 Must contain the foreign key from the many table
 Can add, change or delete data in the source tables

More Related Content

What's hot (20)

Cis145 Final Review
Cis145 Final ReviewCis145 Final Review
Cis145 Final Review
 
CIS145 Final Review
CIS145 Final ReviewCIS145 Final Review
CIS145 Final Review
 
MS Access 2010 tutorial 3
MS Access 2010 tutorial 3MS Access 2010 tutorial 3
MS Access 2010 tutorial 3
 
MS Access Training
MS Access TrainingMS Access Training
MS Access Training
 
Ms access 2007
Ms access 2007Ms access 2007
Ms access 2007
 
001.general
001.general001.general
001.general
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007
 
MS Access Ch 1 PPT
MS Access Ch 1 PPTMS Access Ch 1 PPT
MS Access Ch 1 PPT
 
Ms access Database
Ms access DatabaseMs access Database
Ms access Database
 
Uses of MS Access in Business
Uses of MS Access in BusinessUses of MS Access in Business
Uses of MS Access in Business
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access ppt
 
Access 2007
Access 2007Access 2007
Access 2007
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Intro to Microsoft Access
Intro to Microsoft AccessIntro to Microsoft Access
Intro to Microsoft Access
 
Introduction to ms access
Introduction to ms accessIntroduction to ms access
Introduction to ms access
 
Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007
 
MS Access Ch 2 PPT
MS Access Ch 2 PPTMS Access Ch 2 PPT
MS Access Ch 2 PPT
 
DATA HANDLING FOR SPSS
DATA HANDLING FOR SPSSDATA HANDLING FOR SPSS
DATA HANDLING FOR SPSS
 
Access 2007 lecture notes students
Access 2007 lecture notes studentsAccess 2007 lecture notes students
Access 2007 lecture notes students
 
Ch10
Ch10Ch10
Ch10
 

Viewers also liked (7)

Normalization
NormalizationNormalization
Normalization
 
Cis166 Final Review C#
Cis166 Final Review C#Cis166 Final Review C#
Cis166 Final Review C#
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
 
3 sql overview
3 sql overview3 sql overview
3 sql overview
 
CIS160 final review
CIS160 final reviewCIS160 final review
CIS160 final review
 
Stored procedures
Stored proceduresStored procedures
Stored procedures
 
Introduction to mysql part 6
Introduction to mysql part 6Introduction to mysql part 6
Introduction to mysql part 6
 

Similar to CIS 145 test 1 review

18 database features
18 database features18 database features
18 database featuresRebecca Jones
 
Create a table access - office
Create a table   access - officeCreate a table   access - office
Create a table access - officePavan Kumar
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database DesignArchit Saxena
 
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGESDATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGESWesleyWenceslaus
 
Database Concepts and Terminologies
Database Concepts and TerminologiesDatabase Concepts and Terminologies
Database Concepts and TerminologiesOusman Faal
 
MS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.pptMS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.ppt1520lakshyagupta
 
MS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.pptMS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.pptwondmhunegn
 
MS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.pptMS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.pptJoselitoTan2
 
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docxhyacinthshackley2629
 
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems incUnderstanding about relational database m-square systems inc
Understanding about relational database m-square systems incMuthu Natarajan
 
Database Concepts.pptx
Database Concepts.pptxDatabase Concepts.pptx
Database Concepts.pptxDhruvSavaliya9
 
Module 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxModule 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxEsubalew21
 
Operate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxOperate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxEsubalew21
 
AB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docx
AB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docxAB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docx
AB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docxbartholomeocoombs
 

Similar to CIS 145 test 1 review (20)

Cis145 Final Review
Cis145 Final ReviewCis145 Final Review
Cis145 Final Review
 
18 database features
18 database features18 database features
18 database features
 
Create a table access - office
Create a table   access - officeCreate a table   access - office
Create a table access - office
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGESDATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
 
Database Concepts and Terminologies
Database Concepts and TerminologiesDatabase Concepts and Terminologies
Database Concepts and Terminologies
 
01 Microsoft Access
01 Microsoft Access01 Microsoft Access
01 Microsoft Access
 
CIS145 Test 1 Review
CIS145 Test 1 ReviewCIS145 Test 1 Review
CIS145 Test 1 Review
 
MS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.pptMS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.ppt
 
MS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.pptMS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.ppt
 
MS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.pptMS-Access Tables Forms Queries Reports.ppt
MS-Access Tables Forms Queries Reports.ppt
 
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
 
D.dsgn + dbms
D.dsgn + dbmsD.dsgn + dbms
D.dsgn + dbms
 
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems incUnderstanding about relational database m-square systems inc
Understanding about relational database m-square systems inc
 
Database Concepts.pptx
Database Concepts.pptxDatabase Concepts.pptx
Database Concepts.pptx
 
Module 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxModule 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptx
 
Operate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxOperate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptx
 
AB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docx
AB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docxAB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docx
AB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docx
 
Data processing
Data processingData processing
Data processing
 
DB Keys.ppt
DB Keys.pptDB Keys.ppt
DB Keys.ppt
 

More from Randy Riness @ South Puget Sound Community College

More from Randy Riness @ South Puget Sound Community College (20)

SQL Constraints
SQL ConstraintsSQL Constraints
SQL Constraints
 
CIS 245 Final Review
CIS 245 Final ReviewCIS 245 Final Review
CIS 245 Final Review
 
CIS245 sql
CIS245 sqlCIS245 sql
CIS245 sql
 
Cis245 Midterm Review
Cis245 Midterm ReviewCis245 Midterm Review
Cis245 Midterm Review
 
CSS
CSSCSS
CSS
 
XPath
XPathXPath
XPath
 
XSLT Overview
XSLT OverviewXSLT Overview
XSLT Overview
 
Views
ViewsViews
Views
 
CIS282 Midterm review
CIS282 Midterm reviewCIS282 Midterm review
CIS282 Midterm review
 
Schemas 2 - Restricting Values
Schemas 2 - Restricting ValuesSchemas 2 - Restricting Values
Schemas 2 - Restricting Values
 
XML schemas
XML schemasXML schemas
XML schemas
 
Document type definitions part 2
Document type definitions part 2Document type definitions part 2
Document type definitions part 2
 
Document type definitions part 1
Document type definitions part 1Document type definitions part 1
Document type definitions part 1
 
DOM specifics
DOM specificsDOM specifics
DOM specifics
 
SQL overview and software
SQL overview and softwareSQL overview and software
SQL overview and software
 
Cis166 final review c#
Cis166 final review c#Cis166 final review c#
Cis166 final review c#
 
Triggers
TriggersTriggers
Triggers
 
CIS 282 Final Review
CIS 282 Final ReviewCIS 282 Final Review
CIS 282 Final Review
 
SQL Server Stored procedures
SQL Server Stored proceduresSQL Server Stored procedures
SQL Server Stored procedures
 
SQL Server Views
SQL Server ViewsSQL Server Views
SQL Server Views
 

Recently uploaded

Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 

CIS 145 test 1 review

  • 2. Database  Collection of related data and tools to use, manage data  Relational database  Data stored in tables  Each table stores data about one thing  Common values create connections (relationships) between tables 10/22/2012 2
  • 3. Fields, Records, and Tables  Fields  Basic unit of data represented by a column in a table datasheet  Records  Group of related fields or all fields related to a specific item: person, place, or thing  Each row of a datasheet represent a record  Tables  Group of related records 10/22/2012 3
  • 4. Planning a Database  What information do you want to obtain?  What data elements (fields) must you include to be able to get the information?  What types of data will you enter into each field?  Dates, numeric values, amounts of money, text, etc.  What fields of data relate to the same basic items and belong grouped together?  How do the groups of data relate to each other?  What questions will you need the database to be able to answer?  What is the most efficient way to get data into the database tables? 10/22/2012 4
  • 5. Creating Tables  Each table should contain fields that focus on data specific to one type of item  Such as customers, employees, inventory, etc.  Each table should have a primary key  Fields in the primary key cannot be empty (null)  May be one or more fields  Each generic field# heading is replaced with a descriptive field name 10/22/2012 5
  • 6. Table Design Guidelines  Store all necessary data  Store data in smallest parts  Avoid calculations 10/22/2012 6
  • 7. Using Table Design View  Presents a blank work area on which to enter fields  Provides tools for setting data types, descriptions, and properties  Enables you to change the structure and organization of fields in the table 10/22/2012 7
  • 8. Entering Field Names  Field names:  Short but descriptive  Can contain alpha-numeric characters  Can contain many symbols  Can contain spaces  Must start with a character or symbol  May use naming convention  Identify table, data type, and field description 10/22/2012 8
  • 9. Identifying Data Types  Data types identify the kind of data to be added to a field  Text  Numbers  Dates/Times  Currency  Setting a data type controls values that the field contains 10/22/2012 9
  • 10. AutoNumber Fields  Fields that automatically number records as you add them to a table  Numbers can’t be entered or changed by user  If you delete a record from a table, or cancel a new row, Access never assigns the number to any new record 10/22/2012 10
  • 11. Field Properties  Field Size determines how much data can be stored  Some data type sizes are fixed – date/time, yes/no  Format controls how a value is displayed  Input Mask controls which keyboard entries will be required and accepted  Validation Rule sets limits on values that a field will accept  Validation Rule applies regardless of how data is entered or changed  Set Validation Text to explain how to correct an entry 10/22/2012 11
  • 12. Operators  Operators are used in validation, calculations and queries  Comparison Operators:  Relational Operators (=, >, <, <>, >=, <=)  Patterns (Like)  Compare to a list (In)  Logical operators define how to tie tests together  And, Or, Not 10/22/2012 12
  • 13. Using Wildcards  Used in patterns instead of specific characters  Primary wildcards used:  * Represents any number of characters  ? Represents an individual character  Examples:  *Graham* locates all records with graham within the text  Gra?am locates all records with gra at the beginning of the field value and am at the end of the field value with only one letter between 10/22/2012 13
  • 14. Relational Databases  Have more than one table where tables are related to each other  One to one  One to many  Many to many  A combination of fields may be used for the table’s primary key 10/22/2012 14
  • 15. One to Many Relationships  Each table contains data about a specific subject (customers, loans)  Each table on the ‘one’ side has a primary key  Primary key of the “one” table is a foreign key in the many table
  • 16. Many to Many Relationships  Two tables are related, but can have many records in each table in common  One student can attend many courses; one course can be attended by many students  Implement a many to many relationship by creating a pair of one to many relationships with a third table  Third table is often referred to as a “join” or “junction” table  Entries in the join table point to rows in the original tables
  • 17. Foreign Key  A foreign key points to a record in another table  Foreign key “looks like” the related primary key  Same number of fields  Data types for each field must match  Field names don’t matter
  • 18. Referential Integrity  Makes sure that the records in related tables are consistent  Must have a customer in the customer table for an order assigned to that customer  Avoids “orphans”  Cannot delete a record or change the primary key in the one table when associated records are in the many table, unless have cascade delete and cascade update enabled
  • 19. Editing Data  Making new entries, changing existing entries, and deleting rows are all affected by referential integrity  A customer can be added at any time  Must have a customer before a loan can be entered and associated with a customer  Referential integrity doesn’t require entry into a foreign key  Can delete a loan at any time, but can only delete a customer if they don’t have any loans (assuming no cascade delete)
  • 20. Cascading Changes  When referential integrity is enforced can choose to include Cascade Update and/or Cascade Delete  Cascade update passes changes to the primary key of the “one” table to the related rows in the “many” table  Cascade delete removes rows from the “many” table when a primary key (row) is deleted from the “one” table
  • 21. Relationships Window  Where relationships between tables are created and defined  Related fields must have the same data type  Autonumber is related to number field with long integer field size  The one table has a 1 next to it; the many has a next to it
  • 22. Autolookup Queries  Use queries to automatically look up data from related tables  Must contain the foreign key from the many table  Can add, change or delete data in the source tables