SlideShare uma empresa Scribd logo
1 de 34
CIS145 Final
 100 points
 Open book, open notes, open computer
 True-false, multiple choice, fill-in, short answer
Databases
 Collection of related information
    Scope is based on what information we need to
     complete tasks
 Access uses objects to organize and manage data
    Tables, queries, forms, reports, macros, modules
    All objects are in one file
Tables
 Fields are individual data elements/values - columns
 Records are the collection of data for one occurrence –
  rows
 Table should be about one thing or idea
 Primary key uniquely identifies each record
Table Design
 Include all necessary data
 Store data in smallest parts
 Don’t include calculated fields
Field Data Types
What kind of data will be   Common Types
stored in the field?         Number
                             Currency
Numbers not used for         Text
calculations should
                             Yes/No
usually be text.
                             Date/Time
Properties
 Set specific characteristics and behaviors of objects
  (fields, controls, or other objects)
 Properties set for a field are inherited by controls that
  refer to that field
   Drag field from field list in form design view
Data Validation
 Need to make sure we have good data - proper type
  and values
 Properties can help with validation:
   Field Size: How much data to accept
   Input Mask: How or what data is entered
   Format: How data is displayed
   Validation Rules: What data is acceptable
   Required: value must be entered
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
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 used to create 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 (join)
 table
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
    to be assigned that customer ID
   Avoids “orphans”
 Can’t 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
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
Select Queries
 Select Queries represent a question and an answer
 Question is created in design view
    Design view creates a Structured Query Language (SQL)
     statement
 Answer is shown in datasheet view
    Answer is a dynaset - dynamic subset of a table
Query Design
 Specify data source - table or another query (FROM)
 Determine which rows to include (WHERE)
 Identify groups (GROUP BY)
 Specify groups to include in result (HAVING)
 Identify fields to include in result (SELECT)
 Specify how to sort the answer (ORDER BY)
Criteria




      And   Or
Wildcards
 ‘*’ is for a group of characters (0, 1 or more characters)
 ‘?’ is for a single character (and there must be a
  character)

“S*ND” will return sand, sound, send, stand, spend
“S?ND” will return sand, send
Total Queries
 Select query with results summarized by one or more
 fields
   Find value(s) that records share and summarize
    information
 Similar to Groups in a Report
Multi-table Queries
 Can use multiple tables in a query
 If tables are not already related, can connect tables in
  the query itself
   Drag the connecting field from the one table to the
    many table
 “Joins” describe how rows in one table match rows in
  the other table(s)
Joins
 When using multiple tables, need to connect through a
  join
 Inner-join is most common and requires matching values
  in both tables
 Outer-join includes all rows from one table and any
  matching records from second table that exist
 Cartesian Join matches all rows from one table with all
  rows from 2nd table
Autolookup Queries
 Use queries to automatically look up data from related
  tables
 Must contain the foreign key from the many table
    Value entered in foreign key is matched to value in
     related primary key to “look up” data
 Can add, change or delete data in the source tables
    Many side will determine where a new row is added or
     existing row deleted
Parameter Queries
 Parameter queries allow entry of criteria when query is
 run
   A “place holder” allows the criteria to be saved without a
    specific value
   Behaves like an argument in other programming
    languages
 Allows query to be used with different values without
 having to go into design view
Action Queries
 Action queries are about change
 Can change data
    Update: change an existing value
    Append: add rows to a table
    Delete: remove rows from a table
 Can change database
    Make-table: create a new database object
Forms
  Basic use is to enter and display information from a
   table
     Forms can also help to change data stored in table by
      being bound (record source is a table or query)
  Forms can help others use an application
     Typically an unbound form (no record source)
  Forms use controls: bound, unbound, calculated
Forms - 2
 Forms have sections: header, footer, and detail
    Detail section is used to display data from one row in a
     table or query
 Tab order controls how the cursor moves through
  controls on a form
Forms & Subforms
 Main form is based on the primary (“one”) table
 Subform is based on the many table
 Subform shows records associated with the current
  record in the primary table
 Each form has its own status bar, record selector, and
  navigation buttons
Subforms
 Main form and subform are linked through specific fields;
  fields don’t have to be shown, but must be in data source
  (record source)
 A main form can have several subforms
 Subforms can be displayed as a data sheet, single form or
  continuous forms
    Display is set through the form’s default view in the
     properties window
List Controls
 A list or combo box can be bound to a field in one
 table, and display data from fields in a second table
   Good choice for selecting a value for a foreign key, if the
    primary and foreign keys are single fields
 Rowsource property specifies the list of choices, bound
  column specifies the value to save
 Can show/not show different columns in the list
Reports
 Displays information from a table or query
 Cannot change data
    A report shows the data at the time of printing or print
     preview
    Each time a report is displayed or printed, it recalculates
     and re-reads the data from tables, so one report can
     show different values
Reports - 2
 Reports have sections: report, page, and group headers
  and footers; and detail
 Controls are used to display data, information,
  calculations
   The most common controls are text boxes, labels, and
    lines
Sorting & Grouping
 Groups help to organize data into information for
 records that have something in common
   Can summarize information for subgroups (for example,
    showing subtotals by location)
 Sorting controls the order that information is shown
Subreports
 Allow main report to include all records, regardless of
 whether there are related records
   Subreports are similar in function to subforms, finding
    related rows for the current row in main report
 Can include several subreports, if a query would create
 incomplete or duplicating results
Getting & Using Data in Forms and
Reports
  Forms and reports have a recordsource property
     Can get data from a table or query
  Bound controls use the controlsource property to
  connect to a field
    Field for controlsource must be in form recordsource
    Controlsource is also used for calculations

Mais conteúdo relacionado

Mais procurados

Pivot table presentation
Pivot table presentationPivot table presentation
Pivot table presentation
Sha Tibnjn
 
Alpha Tech Module4 5-6 glossary
Alpha Tech Module4 5-6 glossaryAlpha Tech Module4 5-6 glossary
Alpha Tech Module4 5-6 glossary
thinkict
 
Overview spss student
Overview spss studentOverview spss student
Overview spss student
aswhite
 
introduction to spss
introduction to spssintroduction to spss
introduction to spss
Omid Minooee
 

Mais procurados (19)

Exp2003 exl ppt_01
Exp2003 exl ppt_01Exp2003 exl ppt_01
Exp2003 exl ppt_01
 
Exp2003 exl ppt_03
Exp2003 exl ppt_03Exp2003 exl ppt_03
Exp2003 exl ppt_03
 
How to process data in SPSS ?
How to process data in SPSS ? How to process data in SPSS ?
How to process data in SPSS ?
 
CIS 145 test 1 review
CIS 145 test 1 reviewCIS 145 test 1 review
CIS 145 test 1 review
 
Creating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS StatisticsCreating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS Statistics
 
Spss by vijay ambast
Spss by vijay ambastSpss by vijay ambast
Spss by vijay ambast
 
Pivot table presentation
Pivot table presentationPivot table presentation
Pivot table presentation
 
Alpha Tech Module4 5-6 glossary
Alpha Tech Module4 5-6 glossaryAlpha Tech Module4 5-6 glossary
Alpha Tech Module4 5-6 glossary
 
Model Assistant Suite
Model Assistant SuiteModel Assistant Suite
Model Assistant Suite
 
SPSS
SPSSSPSS
SPSS
 
Access 2007 Training
Access 2007 TrainingAccess 2007 Training
Access 2007 Training
 
Introduction to spss 18
Introduction to spss 18Introduction to spss 18
Introduction to spss 18
 
Overview spss student
Overview spss studentOverview spss student
Overview spss student
 
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
 
NCompass Live: Excel for Librarians
NCompass Live: Excel for LibrariansNCompass Live: Excel for Librarians
NCompass Live: Excel for Librarians
 
Excel2002
Excel2002Excel2002
Excel2002
 
An introduction to spss
An introduction to spssAn introduction to spss
An introduction to spss
 
Data processing & Analysis: SPSS an overview
Data processing & Analysis: SPSS an overviewData processing & Analysis: SPSS an overview
Data processing & Analysis: SPSS an overview
 
introduction to spss
introduction to spssintroduction to spss
introduction to spss
 

Destaque

Final review m score
Final review m scoreFinal review m score
Final review m score
azhar4010
 
Personal Project Final Review
Personal Project Final ReviewPersonal Project Final Review
Personal Project Final Review
qataracademy
 
Packet-Hiding Methods: To Prevent Selective Jamming Attacks
Packet-Hiding Methods: To Prevent Selective Jamming AttacksPacket-Hiding Methods: To Prevent Selective Jamming Attacks
Packet-Hiding Methods: To Prevent Selective Jamming Attacks
Swapnil Salunke
 
Wi vi presentation
Wi vi presentationWi vi presentation
Wi vi presentation
errajagrawal
 
Spayusa Intermed Fundraising Finalcompressed
Spayusa Intermed Fundraising FinalcompressedSpayusa Intermed Fundraising Finalcompressed
Spayusa Intermed Fundraising Finalcompressed
jlandsman
 
Online Fundraising 101
Online Fundraising 101Online Fundraising 101
Online Fundraising 101
Abila
 
Hot Topics Panel: How to Take Your Peer to Peer Fundraising Program from Good...
Hot Topics Panel: How to Take Your Peer to Peer Fundraising Program from Good...Hot Topics Panel: How to Take Your Peer to Peer Fundraising Program from Good...
Hot Topics Panel: How to Take Your Peer to Peer Fundraising Program from Good...
Blackbaud
 

Destaque (20)

M-Score
M-ScoreM-Score
M-Score
 
Final review m score
Final review m scoreFinal review m score
Final review m score
 
Personal Project Final Review
Personal Project Final ReviewPersonal Project Final Review
Personal Project Final Review
 
Packet hiding methods for preventing selective jamming attacks
Packet hiding methods for preventing selective jamming attacksPacket hiding methods for preventing selective jamming attacks
Packet hiding methods for preventing selective jamming attacks
 
Enhancing user privacy by permission removal in android phones
Enhancing user privacy by permission removal in android phonesEnhancing user privacy by permission removal in android phones
Enhancing user privacy by permission removal in android phones
 
Packet hiding methods for preventing selective jamming attacks
Packet hiding methods for preventing selective jamming attacksPacket hiding methods for preventing selective jamming attacks
Packet hiding methods for preventing selective jamming attacks
 
Packet-Hiding Methods: To Prevent Selective Jamming Attacks
Packet-Hiding Methods: To Prevent Selective Jamming AttacksPacket-Hiding Methods: To Prevent Selective Jamming Attacks
Packet-Hiding Methods: To Prevent Selective Jamming Attacks
 
Online event registration final review (3-2 project)...
Online event registration final review (3-2 project)...Online event registration final review (3-2 project)...
Online event registration final review (3-2 project)...
 
Ppt
PptPpt
Ppt
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Wi vi presentation
Wi vi presentationWi vi presentation
Wi vi presentation
 
IOF 2011: How to optimise online fundraising (Cancer Research UK & JustGiving)
IOF 2011: How to optimise online fundraising (Cancer Research UK & JustGiving) IOF 2011: How to optimise online fundraising (Cancer Research UK & JustGiving)
IOF 2011: How to optimise online fundraising (Cancer Research UK & JustGiving)
 
Fundraising as a Career: What, Are Your Crazy?
Fundraising as a Career: What, Are Your Crazy?Fundraising as a Career: What, Are Your Crazy?
Fundraising as a Career: What, Are Your Crazy?
 
Spayusa Intermed Fundraising Finalcompressed
Spayusa Intermed Fundraising FinalcompressedSpayusa Intermed Fundraising Finalcompressed
Spayusa Intermed Fundraising Finalcompressed
 
Introduction To Social Media & Fundraising
Introduction To Social Media & FundraisingIntroduction To Social Media & Fundraising
Introduction To Social Media & Fundraising
 
Social Media as a Fundraising Strategy
Social Media as a Fundraising StrategySocial Media as a Fundraising Strategy
Social Media as a Fundraising Strategy
 
Fundraising in a Recession - October 2009
Fundraising in a Recession - October 2009Fundraising in a Recession - October 2009
Fundraising in a Recession - October 2009
 
Online Fundraising 101
Online Fundraising 101Online Fundraising 101
Online Fundraising 101
 
Hot Topics Panel: How to Take Your Peer to Peer Fundraising Program from Good...
Hot Topics Panel: How to Take Your Peer to Peer Fundraising Program from Good...Hot Topics Panel: How to Take Your Peer to Peer Fundraising Program from Good...
Hot Topics Panel: How to Take Your Peer to Peer Fundraising Program from Good...
 
Cross Channel Fundraising Strategies
Cross Channel Fundraising StrategiesCross Channel Fundraising Strategies
Cross Channel Fundraising Strategies
 

Semelhante a Cis145 Final Review

MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access Tutorial
virtualMaryam
 
MS Access Ch 2 PPT
MS Access Ch 2 PPTMS Access Ch 2 PPT
MS Access Ch 2 PPT
prsmith72
 
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
1520lakshyagupta
 
18 database features
18 database features18 database features
18 database features
Rebecca Jones
 
Operate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxOperate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptx
Esubalew21
 
Create a table access - office
Create a table   access - officeCreate a table   access - office
Create a table access - office
Pavan Kumar
 
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
bartholomeocoombs
 

Semelhante a Cis145 Final Review (20)

MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access Tutorial
 
MS Access Ch 2 PPT
MS Access Ch 2 PPTMS Access Ch 2 PPT
MS Access Ch 2 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
 
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
 
Database Concepts and Terminologies
Database Concepts and TerminologiesDatabase Concepts and Terminologies
Database Concepts and Terminologies
 
18 database features
18 database features18 database features
18 database features
 
Cis245 Midterm Review
Cis245 Midterm ReviewCis245 Midterm Review
Cis245 Midterm Review
 
Operate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxOperate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptx
 
Create a table access - office
Create a table   access - officeCreate a table   access - office
Create a table access - office
 
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
 
Fg d
Fg dFg d
Fg d
 
CIS145 Test 1 Review
CIS145 Test 1 ReviewCIS145 Test 1 Review
CIS145 Test 1 Review
 
Ms access 2010
Ms access 2010Ms access 2010
Ms access 2010
 
01 Microsoft Access
01 Microsoft Access01 Microsoft Access
01 Microsoft Access
 
Key,ID Field and Tables Relationship
Key,ID Field and Tables Relationship Key,ID Field and Tables Relationship
Key,ID Field and Tables Relationship
 
access1.ppt
access1.pptaccess1.ppt
access1.ppt
 
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
 
CIS 145 Test Review
CIS 145 Test ReviewCIS 145 Test Review
CIS 145 Test Review
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 

Mais de Randy Riness @ South Puget Sound Community College

Mais de Randy Riness @ South Puget Sound Community College (20)

Stored procedures
Stored proceduresStored procedures
Stored procedures
 
3 sql overview
3 sql overview3 sql overview
3 sql overview
 
Normalization
NormalizationNormalization
Normalization
 
CIS160 final review
CIS160 final reviewCIS160 final review
CIS160 final review
 
SQL Constraints
SQL ConstraintsSQL Constraints
SQL Constraints
 
CIS 245 Final Review
CIS 245 Final ReviewCIS 245 Final Review
CIS 245 Final Review
 
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
 
CIS245 sql
CIS245 sqlCIS245 sql
CIS245 sql
 
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
 

Último

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Último (20)

Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 

Cis145 Final Review

  • 1.
  • 2. CIS145 Final  100 points  Open book, open notes, open computer  True-false, multiple choice, fill-in, short answer
  • 3. Databases  Collection of related information  Scope is based on what information we need to complete tasks  Access uses objects to organize and manage data  Tables, queries, forms, reports, macros, modules  All objects are in one file
  • 4. Tables  Fields are individual data elements/values - columns  Records are the collection of data for one occurrence – rows  Table should be about one thing or idea  Primary key uniquely identifies each record
  • 5. Table Design  Include all necessary data  Store data in smallest parts  Don’t include calculated fields
  • 6. Field Data Types What kind of data will be Common Types stored in the field?  Number  Currency Numbers not used for  Text calculations should  Yes/No usually be text.  Date/Time
  • 7. Properties  Set specific characteristics and behaviors of objects (fields, controls, or other objects)  Properties set for a field are inherited by controls that refer to that field  Drag field from field list in form design view
  • 8. Data Validation  Need to make sure we have good data - proper type and values  Properties can help with validation:  Field Size: How much data to accept  Input Mask: How or what data is entered  Format: How data is displayed  Validation Rules: What data is acceptable  Required: value must be entered
  • 9. 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. 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 used to create a foreign key in the “many” table
  • 11. 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 (join) table
  • 12. 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
  • 13. Referential Integrity  Makes sure that the records in related tables are consistent  Must have a customer in the customer table for an order to be assigned that customer ID  Avoids “orphans”  Can’t 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
  • 14. 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
  • 15. Select Queries  Select Queries represent a question and an answer  Question is created in design view  Design view creates a Structured Query Language (SQL) statement  Answer is shown in datasheet view  Answer is a dynaset - dynamic subset of a table
  • 16. Query Design  Specify data source - table or another query (FROM)  Determine which rows to include (WHERE)  Identify groups (GROUP BY)  Specify groups to include in result (HAVING)  Identify fields to include in result (SELECT)  Specify how to sort the answer (ORDER BY)
  • 17. Criteria And Or
  • 18. Wildcards  ‘*’ is for a group of characters (0, 1 or more characters)  ‘?’ is for a single character (and there must be a character) “S*ND” will return sand, sound, send, stand, spend “S?ND” will return sand, send
  • 19. Total Queries  Select query with results summarized by one or more fields  Find value(s) that records share and summarize information  Similar to Groups in a Report
  • 20. Multi-table Queries  Can use multiple tables in a query  If tables are not already related, can connect tables in the query itself  Drag the connecting field from the one table to the many table  “Joins” describe how rows in one table match rows in the other table(s)
  • 21. Joins  When using multiple tables, need to connect through a join  Inner-join is most common and requires matching values in both tables  Outer-join includes all rows from one table and any matching records from second table that exist  Cartesian Join matches all rows from one table with all rows from 2nd table
  • 22. Autolookup Queries  Use queries to automatically look up data from related tables  Must contain the foreign key from the many table  Value entered in foreign key is matched to value in related primary key to “look up” data  Can add, change or delete data in the source tables  Many side will determine where a new row is added or existing row deleted
  • 23. Parameter Queries  Parameter queries allow entry of criteria when query is run  A “place holder” allows the criteria to be saved without a specific value  Behaves like an argument in other programming languages  Allows query to be used with different values without having to go into design view
  • 24. Action Queries  Action queries are about change  Can change data  Update: change an existing value  Append: add rows to a table  Delete: remove rows from a table  Can change database  Make-table: create a new database object
  • 25. Forms  Basic use is to enter and display information from a table  Forms can also help to change data stored in table by being bound (record source is a table or query)  Forms can help others use an application  Typically an unbound form (no record source)  Forms use controls: bound, unbound, calculated
  • 26. Forms - 2  Forms have sections: header, footer, and detail  Detail section is used to display data from one row in a table or query  Tab order controls how the cursor moves through controls on a form
  • 27. Forms & Subforms  Main form is based on the primary (“one”) table  Subform is based on the many table  Subform shows records associated with the current record in the primary table  Each form has its own status bar, record selector, and navigation buttons
  • 28. Subforms  Main form and subform are linked through specific fields; fields don’t have to be shown, but must be in data source (record source)  A main form can have several subforms  Subforms can be displayed as a data sheet, single form or continuous forms  Display is set through the form’s default view in the properties window
  • 29. List Controls  A list or combo box can be bound to a field in one table, and display data from fields in a second table  Good choice for selecting a value for a foreign key, if the primary and foreign keys are single fields  Rowsource property specifies the list of choices, bound column specifies the value to save  Can show/not show different columns in the list
  • 30. Reports  Displays information from a table or query  Cannot change data  A report shows the data at the time of printing or print preview  Each time a report is displayed or printed, it recalculates and re-reads the data from tables, so one report can show different values
  • 31. Reports - 2  Reports have sections: report, page, and group headers and footers; and detail  Controls are used to display data, information, calculations  The most common controls are text boxes, labels, and lines
  • 32. Sorting & Grouping  Groups help to organize data into information for records that have something in common  Can summarize information for subgroups (for example, showing subtotals by location)  Sorting controls the order that information is shown
  • 33. Subreports  Allow main report to include all records, regardless of whether there are related records  Subreports are similar in function to subforms, finding related rows for the current row in main report  Can include several subreports, if a query would create incomplete or duplicating results
  • 34. Getting & Using Data in Forms and Reports  Forms and reports have a recordsource property  Can get data from a table or query  Bound controls use the controlsource property to connect to a field  Field for controlsource must be in form recordsource  Controlsource is also used for calculations