TCC 233/05 Database Management Systems
TCC 233/05 Database Management Systems
TCC 233/05
Database Management Systems
Unit 1 Introduction to Database
• Name: Mr. C
• Contact number: 012 - 8888888
03 - 8888888
• Email: [email protected]
[email protected]
• Telephone tutoring time slot:
weekday : 8 – 10 pm
weekend: 2 – 5 pm
• Please contact me once every 2 weeks.
Introduction to Database
Introduction to Microsoft
SQL Server
Prepare to work with a database
Create table Not important in this
Inserting data unit, please refer to Unit
3 for more information
Focus area:
• What is database, database system and
database management system (DBMS)
• Component of database system
Database
• A kind of electronic filing cabinet; that is, it is a repository or container for
a collection of computerised data files
Database System
• A computerised record keeping system; in other words, it is a
computerised system whose overall purpose is to store information and to
allow users to retrieve and update that information on demand. It involves
four major components: data, hardware, software and users
Application
Program 3 Stored
User Database
Focus area:
• The three levels of architecture of a DBMS
• Database languages
• Component of DBMS
• Advantages and disadvantages of DBMS
• Client-server architecture
Internal
Internal View
Level
Database
View n (HR)
Conceptual Conceptual View
Level staffID staffName Dpt Pos
Internal
Internal View
Level
Database
External/Conceptual Mapping
Database
Database Languages:
Data Definition Language (DDL)
• Data Definition Language (DDL) is used by the database administrator
and database designers to define a schema or modify the existing
schemas. It allows users to specify the data types and structures and the
constraints on the data to be stored in the database.
Component of DBMS
Database Programmers Users DBA
System
Application Queries Database
programs schema
Stored
Database
Client-server architecture
First Tier
First Tier Client
Client User interface
Second Tier
Business and data Application
processing logic Server
Second Tier
Database
Server Data validation
Third Tier
Database access Database
Server
Stored
Database
Stored
Database
Focus area:
• Familiarise with the Microsoft SQL Server
Command window
Result window /
Message window