Computer Science & Engineering 2111 Introduction to Database Systems 1CSE 2111 Introduction to Database Systems.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

Database Management Systems and Enterprise Software
Designing Databases In database design, you determine the fields, tables, and relationships between tables that are needed to satisfy the users’ requirements.
Computer Science & Engineering 2111 Introduction to Database Systems 1CSE 2111-Introduction to Database Systems.
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
Database Management An Introduction.
Concepts of Database Management Sixth Edition
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.
1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Information Storage and Retrieval CS French Chapter 3.
MS Access 2007 IT User Services - University of Delaware.
Computer Science & Engineering 2111 Introduction to Database Management Systems Relationships and Database Creation 1 CSE 2111 Introduction to Database.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
Database terms Mr. Brunton.
Introduction to Database Systems
Microsoft Access 2000 Creating Tables and Relationships.
Concepts of Database Management Seventh Edition
Access 2007 Database Application Managing Business Information Effectively BCIS 1 and 2.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Database for non-IT individuals. You are an office worker for Rio Rancho Auto Gallery. Your company sells four types of vehicles (compacts, sedans, SUVs,
Databases. Database A database is an organized collection of related data.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Databases Introduction. What is a Database? A DATABASE is a collection of related data. –Data is just another name for information.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Relational Databases (MS Access)
Computer Science & Engineering 2111 Lecture 11 Querying a Database 1.
Information Systems & Databases 2.2) Organisation methods.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Chapter 8 Analyzing Systems Using Data Dictionaries Systems Analysis and Design Kendall & Kendall Sixth Edition.
Computer Science & Engineering 2111 Lecture 10 Introduction to Database Management Systems 1.
Computer Science & Engineering 2111 Querying a Database 1CSE 2111 Lecture- Querying a Database.
Databases Organizing Sorting Querying A Presentation by Karen Work Richardson.
Introduction to Data Bases. What is (are) Data Information? - no Information is PROCESSED data Data are facts - descriptions of an entity, Entity -> Me.
DAY 14: MICROSOFT ACCESS – CHAPTER 1 Madhuri Siddula October 1, 2015.
ITGS Databases.
Database revision.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Database Management Systems CS 420. Topics Outline 1. Introduction 2. HTML Review 3. VBScript 4. Access DBMS 5. Relational Database 6. Design Process.
What is Access?. “Copyright and Terms of Service Copyright © Texas Education Agency. The materials found on this website are copyrighted © and trademarked.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Introduction to a Database Definition: A database is a collection of information held together in an organised manner. For example: A library could be.
Introduction to Databases. What is a database?  A database program is nothing more than an electronic version of a 3x5 card file  A database is defined.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
INTRODUCTION TO DATABASES USING MICROSOFT ACCESS Basic Database Terms Create A Database Creating Table Fields Populating a Table Modifying Data Create.
Computer Science & Engineering 2111 Database Objects 1 CSE 2111 Introduction to Database Management Systems.
Database Essentials Lesson 1. Software Orientation.
DATA SCIENCE MIS0855 | Spring 2016 Designing Data
Database Presentation BIM, Mrs. Bailey. **Database Notes** Use new sheet of paper! Microsoft Access - known as a database management system or DBMS Database.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
DAY 20: ACCESS CHAPTERS 5, 6, 7 Larry Reaves October 28,
2b. Create an Access Database Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
Introduction to Database Systems
Tables & Relationships
Databases Chapter 16.
Introduction to Database Systems
Hierarchy of Data in a Database
Introduction to Database Systems
Database Management  .
Fundamentals of Database Design
Microsoft Applications
Microsoft Office Access is the best –selling personal computer database management system. What is Access?
Database Management Systems and Enterprise Software
Presentation transcript:

Computer Science & Engineering 2111 Introduction to Database Systems 1CSE 2111 Introduction to Database Systems

Database Terms – Data A collection of numbers and text – – Information Meaning derived from the data – SSN: CSE 2111 Introduction to Database Systems2

What is a database? A large collection of data stored in a well-defined structure – You can think of a database as An electronic filing system A repository for large amounts of information – Example of a paper database Telephone book Examples of computer databases – Ohio State stores student information in a database – Insurance companies store policy holder information in a database – Your employer stores your information in a database CSE 2111 Introduction to Database Systems3

Database Software How do I create a database? – Purchase the software We will use MS Access 2010, but there are many database software products – Oracle – Sybase – SQL Server How do I access information in the database? – Purchase a Database Management System (DBMS) A DBMS is a collection of programs that enable you to enter, organize, and select data in a database. – We will use MS Access 2010, but there are many database management softwareproducts CSE 2111 Introduction to Database Systems4

The design should be initially created schematically, and then the database should be created using the chosen database software Steps when setting up a Database CSE 2111 Introduction to Database Systems5

1. Decide what information you will store in the database Research Papers database First NameCharge Amount Last NameCharge Date AddressPayment Amount CityPayment Type StatePayment Date Zip Code Home Phone This database is a very simplistic one. Most databases you create will be much more complex. CSE 2111 Introduction to Database Systems6

2. Create the layout of the database What tables do you need in your database? What is a table? – An entity used to organize information by categories of like information CSE 2111 Introduction to Database Systems7

Research Papers Database Tables CSE 2111 Introduction to Database Systems8 Client Stores client information Charges Stores client charges information Payments Stores client payment information PaymentMethod Stores the payment method Credit Card Cash Check

2. Create the layout of the database What fields do you need in your database? What is a field? – An attribute (piece of information) of the table/entity. How will you set them up? – Divide Tables into Inseparable Fields Address as 1 field – 17 Main St. New York, New York Address as 4 fields Street Address - 17 Main St. City - New York State - New York Zip code – CSE 2111 Introduction to Database Systems9

Research Papers Database Table Name: Client Fields:Client ID First Name Last Name Address City State Zip Code Home Phone Table Name: Charges Fields:Client ID Charge Amount Charge Date Table Name: Payments Fields:Client ID Payment Amount Payment Type Payment Date Table Name: PaymentMethod Fields:MethodID MethodType CSE 2111 Introduction to Database Systems10

2. Create the layout of the database Fields contain field types/data types and field properties What is a field Type/Data Type? – Defines the type of information that can be stored. i.e. text, numbers, dates, etc. What is a field Property? – Field size – Input Mask – Validity – Default Value CSE 2111 Introduction to Database Systems11

Research Papers Database Table Name: Client Field Type/ Data Type Properties Fields:Client IDText5 Characters longPrimary Key First NameText25 Characters long Last NameText50 Characters long AddressText60 Characters long CityText25 Characters long StateText2 Characters longDefault Value Zip CodeText5 Characters long Home PhoneText10 Characters longInput Mask Table Name: Charges Field TypeProperties Fields:Client IDText5 Characters long Charge AmountCurrencyNone Charge DateDateInput Mast Table Name: Payments Field TypeProperties Fields:Client IDText5 Characters long Payment AmountCurrencyNone Payment TypeText2 Characters long Payment DateDateInput Mask Table Name: PaymentMethod Field TypeProperties Fields:MethodIDText2 Characters long MethodTypeText20 Characters long CSE 2111 Introduction to Database Systems12

2. Create the layout of the database What will be the primary key for each table? A field, or a collection of fields, whose values uniquely identify each record in a table CSE 2111 Introduction to Database Systems13

Research Papers Database Table Name: Client Field Type/ Data Type Properties Fields:Client IDText5 Characters longPrimary Key First NameText25 Characters long Last NameText50 Characters long AddressText60 Characters long CityText25 Characters long StateText2 Characters longDefault Value Zip CodeText5 Characters long Home PhoneText10 Characters longInput Mask Table Name: Charges Field TypeProperties Fields:Client IDText5 Characters long Charge AmountCurrencyNone Charge DateDateInput Mast Table Name: Payments Field TypeProperties Fields:Client IDText5 Characters long Payment AmountCurrencyNone Payment TypeText2 Characters long Payment DateDateInput Mask Table Name: PaymentMethod Field TypeProperties Fields:MethodIDText2 Characters long MethodTypeText20 Characters long CSE 2111 Introduction to Database Systems14