Introduction to Database ISYS 263. File Concepts File consists of a group of records. Each record contains a group of fields. –Key field, grouping field,

Slides:



Advertisements
Similar presentations
Using a database to organize information
Advertisements

Computer Concepts BASICS 4th Edition
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Introduction to Database ISYS 363. File Concepts File consists of a group of records. Each record contains a group of fields. Example: Student file –SIDSnameMajorSexGPA.
Introduction to MS Access. Creating a New Database File/New –Blank database –New database name and location.
ISP 121 Week 1 Introduction to Databases. ISP 121, Winter Why a database and not a spreadsheet? You have too many separate files or too much data.
Introduction to Database ISYS 363. File Concepts File consists of a group of records. Each record contains a group of fields. Example: Student file –SIDSnameMajorSexGPA.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Introduction to Database. File Formats Comma delimited file –"s1","peter",3 –"s2","paul",2.5 –"s3","mary",3.5 –Demo: Excel – Data/Import Extended Markup.
Database Management Systems ISYS 464 David Chao. Introduction to Databases The most important component in an information system Created to support all.
Managing Enterprise Database ISYS 464 David Chao.
Attribute databases. GIS Definition Diagram Output Query Results.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Database Software Application
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
Microsoft Access Intro Class 1 Database Concepts.
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
Database Lecture # 1 By Ubaid Ullah.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Databases C HAPTER Chapter 10: Databases2 Databases and Structured Fields  A database is a collection of information –Typically stored as computer.
Database Concepts & Introduction to MS Access 1. Outline Database Overview  Database Management System Concepts  Database Structures Database, tables,
ASP.NET Programming with C# and SQL Server First Edition
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
Databases. Database A database is an organized collection of related data.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Microsoft Word: Mail Merge Basics Presenter: Jolanta Soltis.
MS Access Tour Sesión # 6. MS Access Tour Database Management System (DBMS): An application software that allows users to create, manipulate, and change.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Relational Databases (MS Access)
5 Aug Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
More about Databases. Data Entry through Forms Table View (Data sheet view) is useful for data entry of new records But sometimes customization would.
Chapter 17 Creating a Database.
Introduction to MS Access. Creating a New Database File/New –Blank database –New database name and location.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create and Open a Database Create and Open a Database.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
Mr. Keller - MS Office 2 Access 2000 Chapter 1 Mr. Keller.
Database collection of related information stored in an organized form Database program software tool for storage & retrieval of that information.
1 Database Systems Introduction to Microsoft Access Part 2.
Introduction to Access ISYS 363. Creating a New Database MS Office button/New –Blank database –New database name and location.
CREATING A LABEL MAIL MERGE IN WORD. TERMS FIELDS RECORDS MERGE CODES.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
DBMS Using Access Note: If using software other that Access, consult manufacturer’s manual.
Planning & Creating a Database By Ms. Naira Microsoft Access.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
Introduction to Databases CISC Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Introduction to Access BUS 782. Creating a New Database MS Office button/New –Blank database –New database name and location.
Web Page Introduction. What is a web page? A hypertext that contains clickable links. A web page is a text file containing Hyper Text MarkUp Language.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
Introduction to Access ISYS 363. Access Objects Tables –Open a table: Double click the table name –Home/View: Datasheet view Design view Queries Forms.
 A collection of data organized in a way that allows:  Easy access  Easy retrieval of specific data  Easy use of the data.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
To create text styles click on Home >> Tab under Change Styles
Miscellaneous Excel Combining Excel and Access.
GO! with Microsoft Office 2016
Microsoft Access 2007 – Level 1
Source file containing the data (Spreadsheet or Database)
Introduction to Database
Introduction to Database
GO! with Microsoft Access 2016
Microsoft Access 2003 Illustrated Complete
Database Management  .
Introduction to Access
Introduction to Database
Presentation transcript:

Introduction to Database ISYS 263

File Concepts File consists of a group of records. Each record contains a group of fields. –Key field, grouping field, calculated field Example: Student file –SIDSnameMajorSexGPA –S1PeterCISM3.0 –S3PaulACCTM2.7 –S5MaryCISF3.2

Various Types of File Database file –Created and managed by a DBMS Spreadsheet file –Created and managed by a spreadsheet software XML file –Extensible Markup Language Comma-Delimited file – A text file that can be processed by any programming languages, DBMS and spreadsheet. –"s5","peter",3.5 –"s1","paul",3 –"s7","mary",2 Comma-Delimited file demo: stdata.txt –Access –External Data/Text File –Excel – Data/Get External Data/From Text

XML: Data with the Meaning of Data (User- Defined Tags) John Smith Peter Chen David Chao $45.00 This is a grerat book Adam Smith $25.00 This is a second great book

Database Concepts A database is a collection of related files. –Support business operations –Provide information A database management system is a software that enables users to create and maintain a database.

Relational Database Data is logically structured within relations. Each relation is a table (file) with named columns (attributes, fields) and rows (records). Example of relational database systems: –MS Access, MS SQL Server –Oracle, MySQL –IBM DB2 –Sysbase, Informix, etc.

Major Functions of Database Management Creating a database –Analysis: Entity-Relationship Diagram –Design: Design file structure –Implementation Accessing a database Updating a database

Introduction to MS Access

Creating a New Database MS Office button/New –Blank database –New database name and location

Access Objects Tables –Create a new table: Create/Table Design –Open a table: Double click the table name –Home/View: Datasheet view Design view Queries –Create a new query: Create/Query Design Others: Forms, Reports, Pages

Creating a Table Create/Table Design: –Field name –Field data type Create table by using table templates –Create/Table Templates/select template Create a primary key –Never let Access to create a primary key for you. Enter data

Example: Create an Employee Table Database name: HRdatabase Table name: Employee Table fields: –EmpID: Text, 10 characters –EmpName: Text, 30 characters –Sex: Text, 1 character –HireDate: DateTime field –Salary: Currency field

Create a new Query Create/Query design/Show table –Select fields –Add criteria Sorting Total and subtotal –Query design tools/Total –A Total row is added to the design view –Select function from the total row’s dropdown list

Creating a New Form Using Form Wizard –Create/Form –Create/More Forms/Form Wizard

Database design objectives Eliminate data duplication. –Problems with duplication: Inconsistent data double entry waste space Link related records in related tables. Example: –StudentTable: SID, Sname, Address, Major, –StudentAccountTable: SID, Sname, Address, Balance

Database Design Example Example: –Employee Table: EmpID, EmpName, Sex, HireDate,Salary –Department Table: DeptID, DepName, DeptPhone Assumption an employee works for one department and a department has many employees, –1. how to link an employee record to the department record the employee works for? –2. how to link a department record to all its employees? Note: A table’s key field plays an important role in linking related records.

MS Word’s Mail Merge with Data from a Query Mailings/Start Mail Merge/Step by Step Mail Merge Wizard Step 1: Select document type – letter Step 2: Select starting document – Use current document Step 3: Select recipients – From database/browse Step 4: Write your letter – Address book, greeting line, More item Step 5: Preview your letters Step 6: Complete the merge