Who am I?€¦ · Associate Professor: Chien-Hua Tsai 2019/9/4 2 Slides developed by Chien-Hua Tsai...
Transcript of Who am I?€¦ · Associate Professor: Chien-Hua Tsai 2019/9/4 2 Slides developed by Chien-Hua Tsai...
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
1
http://www1.chihlee.edu.tw/teachers/chienhua/
Course Overview and Introduction
Database Management Systems & Applications
A presentation by Chien-Hua TsaiDepartment of Accounting Information, Chihlee University of Technology Slides developed by Chien-Hua Tsai 2
Outline of the Talk
Introduction to Dr. Chien-Hua Tsai (蔡建華) Goals of the course Course requirements Administrative details
Slides developed by Chien-Hua Tsai 3
Associate Professor in Accounting Information Aug. 2008-Present Ph.D., Computer Science, Case Western Reserve University, Ohio, May 2000
Certificates CEH (Certified Ethical Hacker), September 2007 ERP Application Engineer for Financial Module, March 2010 ERP Application Engineer for Distribution Module, August 2010 ERP Application Engineer for Manufacturing Module, August 2011 BI (Business Intelligence) Application Engineer, August 2010 ACL (ACL 105 Foundations of ACL), September 2010 CompTIA (CompTIA IT Fundamentals), April 2014 Information Technology Expert, December 2014 MTA Database Administration Fundamentals, June 2017 MTA Networking Fundamentals, June 2017 TQC+ Basic Creative App Programming, July 2017 MTA Introduction to Programming using Python, December 2018 Academic Teaching Excellence Using the medium of English, July 2019
Who am I?
Slides developed by Chien-Hua Tsai 4
Major in Information Security, Pattern Recognition, Software Engineering Authentication & Safety System Technology, Digital Image Analysis,
Software Development Methodology Rockwell, Irvine, California, 1997-1998
Developed a JPEG baseline compression express chip Circuits Lab, CWRU, Ohio, 1999-2000
Developed a number of successful (internally) tools for image processing operations InfoBank Technology Inc., Sept. 2000-Feb. 2002
Algorithms adviser for image filing & OCR systems Dept. of Information Science, NDMC, Sept. 2001-June 2007
Analysis of Algorithms, Software Engineering, Artificial Intelligence, Information Management Systems, Digital Image Processing
Military Officer, Aug. 1984-June 2004 New Technology Business Group, MiTAC Inc., July 2004-June 2005
Oversaw and reviewed e-business systems for TIPO project Special Project Group, Q-Ware Systems & Services Corp., July 2005-Dec. 2005
Oversaw and reviewed dispatch systems for TFD project Dept. of Information Management, CUTe, Feb. 2006-July 2008
Information Security, System Analysis & Design, Software Engineering, Operating Systems, E-Commerce Systems, User Interface Design, Wireless LAN, Introduction to Algorithms, Data Structures
Who am I?
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
2
Slides developed by Chien-Hua Tsai 5
There is a required textbook this semester. SQL Server 2014 專業開發與設計, 2015年5月, 陳祥輝,
博碩文化, ISBN: 9789864340156 If you are admitted, buy this book immediately.
You can order it from local bookstores. We will follow this book very closely. Occasional references will be proposed
frequently. Readings you should read for the next lecture
will be listed at the end of current lecture and posted on the Web.
Course Materials
Slides developed by Chien-Hua Tsai 6
The accountant of tomorrow will be significantly different from the accountant of the past. The accountant's role has been expanding within organizations and they are becoming part of the management and decision-making team, rather than just providers of financial information. For instance, accounting and finance professionals are mining data, turning information into knowledge, involving IT with development process and communicating what they learn to all levels of the organization.
Major catalysts for this dramatic change are found in recent advancements in computer technology and the advent of e-business. With the latest incarnations of SQL Server 2014, modeling databases and data-mining applications with Microsoft technologies has become easier and much more efficient than ever before.
Outstanding opportunities exist in consulting and in the corporate environment for individuals with both an accounting and information techniques background.
Why study Database Management Systems & Applications?
Slides developed by Chien-Hua Tsai 7
In a nutshell…Since we are in a technology-driven society, we must understand some fundamental computer-based knowledge and need to learn today to work with the robots of tomorrow!
Slides developed by Chien-Hua Tsai 8
Understand your data model’s physical elements Master all the elements of a successful logical data model Learn an effective, start-to-finish methodology for creating
logical models Overcome modeling problems related to entities, attribute,
data types, storage overhead, performance, and relationships
Create physical models with SQL Server 2014: from establishing naming guidelines through implementing business rules and constraints
Use SQL Server’s unique indexing capabilities, and overcome their limitations
Create abstraction layers that enhance security, extensibility, and flexibility
Course Goals
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
3
Slides developed by Chien-Hua Tsai 9
Major Topics Familiarizing with relational databases and basic
SQL Relational database theory and normalization
techniques How to create databases and tables Using indexes and constraints How to use SQL to retrieve data, modify data, and
join tables Using system functions and user-defined functions Taking advantage of stored procedures, views and
triggers to design and build applications
Slides developed by Chien-Hua Tsai 10
Class participation (10%) Individual assignments (20%)
3~5 homework assignments
Certification exam (20%) Midterm exam (25%) Final exam (25%)
Grading Policy
Slides developed by Chien-Hua Tsai 11
Attend lecture and take notes. Start early on all assignments. Don’t procrastinate. Solving problem in an individual creative process
much like composition. You must reach your own understanding of the problem and discover a path to its solution. Only turn in your own work. Do not collaborate closely with another student while doing the homework unless instructed to do so.
Think and practice in class. Review indicated readings after each class. Do not play with smart phones or any mobile
devices in class.
How to succeed in the course?
Slides developed by Chien-Hua Tsai 12
Instructor: Dr. Chien-Hua Tsai (蔡建華) Office room: #467, 3rd Floor, Dept. of Accounting
Information, Composite Hall (regularly) Office hours: Schedule with me via email Email: [email protected] Web page:
http://www1.chihlee.edu.tw/teachers/chienhua/
Phone: (02)2257-6167 ext.# 1240
Administration
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
4
Slides developed by Chien-Hua Tsai 13
CEH Certificate
Slides developed by Chien-Hua Tsai 14
ERP Certificate (Financial Module)
Slides developed by Chien-Hua Tsai 15
ERP Certificate (Distribution Module)
Slides developed by Chien-Hua Tsai 16
ERP Certificate (Manufacturing Module)
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
5
Slides developed by Chien-Hua Tsai 17
BI Certificate
Slides developed by Chien-Hua Tsai 18
ACL Certificate
Slides developed by Chien-Hua Tsai 19
CompTIA Certificate
Slides developed by Chien-Hua Tsai 20
ITE Certificate
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
6
Slides developed by Chien-Hua Tsai 21
MTA Certificate (Database)
Slides developed by Chien-Hua Tsai 22
MTA Certificate (Networking)
Slides developed by Chien-Hua Tsai 23
TQC+ Certificate (App Programming)
Slides developed by Chien-Hua Tsai 24
MTA Certificate (Python)
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
7
Slides developed by Chien-Hua Tsai 25
ATE Certificate (Using the Medium of English)
Slides developed by Chien-Hua Tsai 26
Okay, so let’s get started… with a crash course in
Databases!
The Characteristics of Databases The purpose of a database is to help people
track things of interest to them Data is stored in tables, which have rows
and columns like a spreadsheet. A database may have multiple tables, where each table stores data about a different thing
Each row in a table stores data about an occurrence or instance of the thing of interest
A database stores data and relationshipsSlides developed by Chien-Hua Tsai 27 Slides developed by Chien-Hua Tsai 28
Data in Tables
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
8
Slides developed by Chien-Hua Tsai 29
The Key Characteristic of Databases: Related Tables Naming Conventions in this Textbook
Table Names are written with all capital letters: STUDENT, CLASS, GRADE
Column names are written with an initial capital letter, and compound names are written with a capital letter on each word: Term, Section, ClassNumber, StudentName
Slides developed by Chien-Hua Tsai 30
Data = Recorded facts and figures Information = Knowledge derived from data Databases record data, but they do so in
such a way that we can produce information from the data The data on STUDENTs, CLASSes and GRADEs
could produce information about each student’s GPA
Slides developed by Chien-Hua Tsai 31
Databases Create Information
Slides developed by Chien-Hua Tsai 32
Database Examples
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
9
Slides developed by Chien-Hua Tsai 33
Components of a Database System
Slides developed by Chien-Hua Tsai 34
Components of a Database System with SQL
Applications are the computer programs that users work with.
The Database Management System (DBMS) creates, processes, and administers databases.
Structured Query Language (SQL) is an internationally recognized standard database language that is used by all commercial DBMSs.
Slides developed by Chien-Hua Tsai 35
Applications, the DBMS, and SQL
Slides developed by Chien-Hua Tsai 36
Database Applications—Forms
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
10
Slides developed by Chien-Hua Tsai 37
Database Applications—Queries
SELECT LastName, FirstName, EmailAddressFROM STUDENTWHERE StudentNumber > 2;
Slides developed by Chien-Hua Tsai 38
Database Applications—Reports
Slides developed by Chien-Hua Tsai 39
Relational Databases and SQL
Structured Query Language (SQL) Declarative language for query and
manipulation of relational data. SQL consists of:
Data Manipulation Language (DML) SELECT, INSERT, UPDATE, DELETE
Data Definition Language (DDL)CREATE, DROP, ALTER
Data Control Language (DCL)GRANT, REVOKE
Slides developed by Chien-Hua Tsai 40
What is SQL?
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
11
Slides developed by Chien-Hua Tsai 41
Communicating with the DB
SELECT Name FROM Departments
NameEngineering
Sales
Marketing
…
Slides developed by Chien-Hua Tsai 42
SQL — Few ExamplesSELECT FirstName, LastName, JobTitle FROM Employees
INSERT INTO Projects(Name, StartDate)VALUES('Introduction to SQL Course', '1/1/2019')
SELECT * FROM Projects WHERE StartDate = '1/1/2019'
UPDATE ProjectsSET EndDate = ‘6/30/2019'WHERE StartDate = '1/1/2019'
DELETE FROM ProjectsWHERE StartDate = '1/1/2019'
Slides developed by Chien-Hua Tsai 43
The DBMS A database is a self-describing collection of
integrated tables The tables are called integrated because
they store data about the relationships between the rows of data
A database is called self-describing because it stores a description of itself
The self-describing data are called metadata, which is data about data
Slides developed by Chien-Hua Tsai 44
The Database
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
12
Slides developed by Chien-Hua Tsai 45
Typical Metadata Tables
Slides developed by Chien-Hua Tsai 46
Enterprise-Class Database Systems
Microsoft SQL Server Oracle Corporation ORACLE IBM DB2
Slides developed by Chien-Hua Tsai 47
Prominent DBMS Products
Slides developed by Chien-Hua Tsai 48
Overview of Client/Server Architecture
Client Computer
Two-tier
OLE DB Components
Multitier
SQL Database Server
Client Computer
SQL Database Server
Business Logic
Display CodeApplication Server
Display Code
Business Logic
OLE DB Components
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
13
Slides developed by Chien-Hua Tsai 49
What You Need To Learn
Slides developed by Chien-Hua Tsai 50
What You Need To Learn
Slides developed by Chien-Hua Tsai 51
A Brief History of Database Processing
Slides developed by Chien-Hua Tsai 52
Questions you may have …Do I need to buy the textbook? Is this course hard?
Other questions?
Chihlee University of Technology, Fall 2019Database Management Systems & ApplicationsAssociate Professor: Chien-Hua Tsai
2019/9/4
14
Slides developed by Chien-Hua Tsai 53
Any Questions? If there are any outstanding questions you
can ask me one-to-one after the lecture OR privately in my office.
Slides developed by Chien-Hua Tsai 54
Reading Assignment
Related materials are covered in the lecture slides
End of the Talk
Database Management Systems & Applications