1. Trang chủ
  2. » Giáo án - Bài giảng

Core concepts of accounting information systems 13 by simkin norman chapter 08

39 277 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 39
Dung lượng 2,24 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

• Creating Database Tables in Microsoft Access• Entering Data in Database Tables • Extracting Data from Databases: Data Manipulation Languages • Cloud Databases and Data Warehouses... J

Trang 1

Prepared by Paula Funkhouser University of Nevada, Reno

Core Concepts of Accounting Information Systems, 13th Edition

Mark G Simkin ● Jacob M Rose ● Carolyn S Norman

Organizing and Manipulating the Data in Databases

Chapter 8

Trang 2

• Creating Database Tables in Microsoft Access

• Entering Data in Database Tables

• Extracting Data from Databases: Data Manipulation

Languages

• Cloud Databases and Data Warehouses

Trang 3

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Database

Tables in Microsoft Access

• Database Management Systems

• An Introduction to Microsoft Access

• Creating Database Tables

• Defining a Record Format

• Creating Relationships

Trang 4

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Database Management Systems

Trang 5

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Introduction to Microsoft Access

• A popular relational database

• Used by many businesses and individuals

• Used for small database applications

Trang 6

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Microsoft Access – Initial Menu

and Opening Screen

Trang 7

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Database Tables –

Defining Record Format

• Field Name - Required

– Names assigned to the data fields

• Data Type - Required

– Specified for each data field

• Field properties

– Identifies how to store the data – field properties

• Description - Optional

– Defines record structures

• Identifying a Primary Key

• Saving a Table

Trang 8

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Database Tables –

Record Format

Trang 9

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Relationships

• Purpose

– Link tables together

– Enable users to create multi-table reports

• Steps in Creating Relationships

– Select tables

– Link the tables

Trang 10

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Database Relationships –

Linking Tables

Trang 11

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Relationships –

Multitable Relationships

Trang 14

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Ensuring Valid and Accurate Data Entry

• Data Definition Language (DDL)

• Proper Data Types for Fields

• Input Masks

• Default Values

• Drop-Down Lists

• Referential Integrity

Trang 15

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Tools for Data Validation

Trang 16

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Drop-Down List Example

Trang 17

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Validation Rule Example

Trang 18

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Referential Integrity

Trang 19

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

All of the following are examples of DBMSs except:

Trang 20

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

An example of a validation rule is:

A An input value must be an integer

B An input value must also have a default value

C An input value must be between 0 and 40

D You cannot delete parent records that have child records associated with them

Study Break #2

Trang 21

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Tips for Creating

Database Tables and Records

Design first

–Create tables and records last

Name tables systematically

Use conventional tbl prefixes

Use mnemonic names for data fields

Assign correct data types to data fields

Trang 22

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Tips for Creating

Database Tables and Records

Ensure data fields that link tables are the same data type

• Limit the size of text data fields to reasonable lengths

• Use input masks

Trang 23

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Extracting Data From Databases:

Data Manipulation Languages

• Schema

– All information in a database

– All relationships of the tables

– Map of entire database

• Subschema

– Subset of the schema

Trang 24

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Select Queries

Trang 25

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Select Queries

• One-Table Select Queries

– Creates a dynaset

– Based on:

• Criteria determining which records to include

• Criteria determining which fields to include from those records

– Single or Multiple Criteria

Trang 26

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Query Example

Trang 27

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Select Query Example

Trang 28

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Multi-Table Select Query Example

Trang 29

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Multi-Table Select Query Example

Trang 30

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Creating Action Queries

Trang 31

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Query Wizard Queries

• Access query Wizard

 Find-Duplicates quires

 Find-unmatched quires

Trang 32

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Guidelines for Creating Queries

• Spell accurately and be case sensitive

• Specify AND and OR operations correctly

• Tables must be joined properly

• Name queries systematically

• Choose data fields selectively

Trang 33

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Extracting Data From Databases

• Structured Query Language (SQL)

• Example of SQL Instructions

Trang 34

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Extracting Data From Databases

• Sorting, Indexing, and Database Programming

– Sort – rewrites the records on disk

– Indexing – sorts on a key but does NOT rewrite the records on

disk

• Online Analytical Processing (OLAP)

– Complex, multidimensional data analysis

– Pivot tables

Trang 35

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Extracting Data From Databases

• Data Mining

– Utilize a set of data analysis and statistical tools

– Identify relationships, patterns, or trends

Trang 36

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

Cloud Databases

• Cloud Databases

– Form of Internet-based Computing

– Software provided through the Internet

– Processing occurs on a Web of computers

– Expands IT capabilities

• Database-As-A-Service (DAAS)

– Outsourcing of databases

• Backup Services

Trang 37

– Span longer timeframe than transaction systems

– Optimized data relationships

Trang 38

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

All of the following are examples of action queries except:

Trang 39

Copyright © 2015 John Wiley & Sons, Inc All rights reserved

SQL is an example of:

A A tool to perform online analytical processing

B A database management system

C A query language

D A multimedia database

Study Break #4

Ngày đăng: 15/05/2017, 11:43

🧩 Sản phẩm bạn có thể quan tâm

w