SlideShare a Scribd company logo
Introduction to DatabaseWith Microsoft Office Access 2007
AgendaGetting to Know DatabaseBasic of Microsoft Office Access 2007Basic Operations of DatabaseStructured Query Language (SQL)CRUD Operations
Getting to Know Database
Definition of DatabaseOrganized mechanism to store, manage and retrieve informationEfficientRobustStableArranged in tabular fashionApparent relationship between informationThe most important aspectWon’t be taught in this class :-(
Consists of a table, multiple fields and many columnsA Really Simple Database
Organization of DatabaseTablesFields (Columns)Has many typesPrimary Key (Optional)Records (Rows, Entries)
When to Use Database? (1/3)AppropriateAppropriateInappropriateAppropriateInappropriateAppropriate
When to Use Database? (2/3)Transaction recordsLoggingBlog/ForumMedia LibraryShopping listMusic playlistAppropriateInappropriate
When to Use Database? (3/3)Managing mass amount of informationSharing Information between many usersManipulating complicatedly related informationNeed securityDesire organization
Under the HoodInfrastructure of DatabaseImplementations in which we are going to learn
Basic of Access 2007
Don’t panic! You’ll soon be familiar with it.Microsoft Office Access 2007
Field Types (1/2)
Field Types (2/2)
Basic Operations of Database
Structured Query Language (SQL)Defines methods to manipulate databaseAttempt to request something from Database is called QueryEach formed SQL statement refer as SQL QueryResembles natural languageHas many standardsHowever, the basic part is still the same
CRUDCreate new tables and recordsRetrieve records from tablesUpdate tables’ definition and record’s dataDelete existing tables and records
CRUD : CreateINSERT INTO <table_name> (<field_list>)VALUES (<value_list>);AutoNumber field must not be includedExamplesINSERT INTO students (nisit_id, name, surname) VALUES (51052744, “Pongsakorn”, “U-chupala”);
CRUD : Create - ExampleINSERT INTO students(nisit_id, name, surname)VALUES (51052744, “Pongsakorn”, “U-chupala”);
CRUD : Create - ExampleINSERT INTO students(nisit_id, name, surname)VALUES (51052744, “Pongsakorn”, “U-chupala”);
CRUD : Create - PracticeInsert a record with every field specified
CRUD : RetrieveSELECT <select_list> FROM <table_name>[ WHERE <search_condition> ][ ORDER BY <order_expression> [ ASC | DESC ] ];Select which fields to retrieve ExamplesSELECT field_1, field_2 FROM table_name …SELECT * FROM table_name …
CRUD : RetrieveSELECT <select_list> FROM <table_name>[ WHERE <search_condition> ][ ORDER BY <order_expression> [ ASC | DESC ] ];Available operators: =, <, >, <=, >=, <>Modifiers: AND, OR, NOT, ()Examples… WHERE student_id=1 …… WHEHE (<cond1>) AND (<cond2>) …
CRUD : RetrieveSELECT <select_list> FROM <table_name>[ WHERE <search_condition> ][ ORDER BY <order_expression> [ ASC | DESC ] ];Sort results by order expression ascending (default) or descendingExpression can be chained togetherExamples… ORDER BY date DESC …… ORDER BY name ASC, surname ASC …
CRUD : Retrieve - ExampleSELECT name, height FROM studentsWHERE height>160ORDER BY height DESC;
CRUD : Retrieve - ExampleSELECT name, height FROM studentsWHERE height>160ORDER BY height DESC;
CRUD : Retrieve - PracticeSelect every record, sort by STU_ID, ascendingSelect name, surname and height of everyone shorter than 170Select everyone heavier than 70, sort by height, descending
CRUD : UpdateUPDATE <table_name> SET <field_value_list>[ WHERE <search_condition> ];Update every record that match the search conditionWe usually use primary key for thisExamplesUPDATE students SET name=“Knight”, surname=“Baron” WHERE nisit_id=1;
CRUD : Update - ExampleUPDATE students SET name=“Knight”, surname=“Baron”WHERE nisit_id=51052744;
CRUD : Update - ExampleUPDATE students SET name=“Knight”, surname=“Baron”WHERE nisit_id=51052744;
CRUD : Update - PracticeUpdate the record that you’ve added earlier with different data
CRUD : DeleteDELETE FROM <table_name>WHERE <search_condition> ;Delete every record that match the search conditionExamplesDELETE FROM students WHERE id=1DELETE FROM students WHERE (name=“Knight”) AND (surname=“Baron”);
CRUD : Delete - ExampleDELETE FROM studentsWHERE (nisit_id=51052345) OR (nisit_id=51052744);
CRUD : Delete - ExampleDELETE FROM studentsWHERE (nisit_id=51052345) OR (nisit_id=51052744);
CRUD : Delete - ExampleDELETE FROM studentsWHERE (nisit_id=51052345) OR (nisit_id=51052744);
CRUD : Delete - PracticeDelete the record you’ve modified earlier
Conclusion
ReviewGetting to know DatabaseDefinitionOrganizationPracticing with Access 2007Database operationsSQL SyntaxCRUD Operations
Please do not hesitate to askAny Questions?
Author: @KnightBaronBlog: http://aosekai.net/Email: knightbaron@gmail.comThank You!
Ad

More Related Content

What's hot (20)

Database administrator
Database administratorDatabase administrator
Database administrator
Tech_MX
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
Dr. C.V. Suresh Babu
 
SQL commands
SQL commandsSQL commands
SQL commands
GirdharRatne
 
data abstraction in DBMS
data abstraction in DBMSdata abstraction in DBMS
data abstraction in DBMS
BHARATH KUMAR
 
Files
FilesFiles
Files
kirtidhamija16
 
database
databasedatabase
database
Shwetanshu Gupta
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
philipsinter
 
MYSQL.ppt
MYSQL.pptMYSQL.ppt
MYSQL.ppt
webhostingguy
 
Integrity constraints in dbms
Integrity constraints in dbmsIntegrity constraints in dbms
Integrity constraints in dbms
Vignesh Saravanan
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
RituBhargava7
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
Merlin Florrence
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
Archit Saxena
 
Rdbms
RdbmsRdbms
Rdbms
rdbms
 
Sql queries presentation
Sql queries presentationSql queries presentation
Sql queries presentation
NITISH KUMAR
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
Ajay Jha
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
Sql ppt
Sql pptSql ppt
Sql ppt
Anuja Lad
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
Murassa Gillani
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Database administrator
Database administratorDatabase administrator
Database administrator
Tech_MX
 
data abstraction in DBMS
data abstraction in DBMSdata abstraction in DBMS
data abstraction in DBMS
BHARATH KUMAR
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
philipsinter
 
Integrity constraints in dbms
Integrity constraints in dbmsIntegrity constraints in dbms
Integrity constraints in dbms
Vignesh Saravanan
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
RituBhargava7
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
Archit Saxena
 
Rdbms
RdbmsRdbms
Rdbms
rdbms
 
Sql queries presentation
Sql queries presentationSql queries presentation
Sql queries presentation
NITISH KUMAR
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
Ajay Jha
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
Murassa Gillani
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 

Viewers also liked (14)

Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
sameerraaj
 
Tacit knowledge
Tacit knowledgeTacit knowledge
Tacit knowledge
UA Fort Smith
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
Jotham Gadot
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Types of databases
Types of databasesTypes of databases
Types of databases
PAQUIAAIZEL
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notes
naeem_mnm
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
dangwalrajendra888
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
Dr. C.V. Suresh Babu
 
Introduction to Microsoft Office
Introduction to Microsoft OfficeIntroduction to Microsoft Office
Introduction to Microsoft Office
Cik Na Shohaili
 
Database management system
Database management systemDatabase management system
Database management system
RizwanHafeez
 
Computer Security
Computer SecurityComputer Security
Computer Security
Frederik Questier
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
Dimara Hakim
 
A presentation on ms office
A presentation on ms officeA presentation on ms office
A presentation on ms office
Vijayraj Daksh
 
Computer Security and Risks
Computer Security and RisksComputer Security and Risks
Computer Security and Risks
Miguel Rebollo
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
sameerraaj
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
Jotham Gadot
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Types of databases
Types of databasesTypes of databases
Types of databases
PAQUIAAIZEL
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notes
naeem_mnm
 
Introduction to Microsoft Office
Introduction to Microsoft OfficeIntroduction to Microsoft Office
Introduction to Microsoft Office
Cik Na Shohaili
 
Database management system
Database management systemDatabase management system
Database management system
RizwanHafeez
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
Dimara Hakim
 
A presentation on ms office
A presentation on ms officeA presentation on ms office
A presentation on ms office
Vijayraj Daksh
 
Computer Security and Risks
Computer Security and RisksComputer Security and Risks
Computer Security and Risks
Miguel Rebollo
 
Ad

Similar to Introduction to database (20)

SQL on Linux and its uses and application.pdf
SQL on Linux and its uses and application.pdfSQL on Linux and its uses and application.pdf
SQL on Linux and its uses and application.pdf
bhaveshsethi456
 
Database queries
Database queriesDatabase queries
Database queries
laiba29012
 
53 SQL Questions-Answers=53 SQL Questions-Answers
53 SQL Questions-Answers=53 SQL Questions-Answers53 SQL Questions-Answers=53 SQL Questions-Answers
53 SQL Questions-Answers=53 SQL Questions-Answers
marukochan23
 
Micro-ORM Introduction - Don't overcomplicate
Micro-ORM Introduction - Don't overcomplicateMicro-ORM Introduction - Don't overcomplicate
Micro-ORM Introduction - Don't overcomplicate
Kiev ALT.NET
 
Data Exploration with Apache Drill: Day 1
Data Exploration with Apache Drill:  Day 1Data Exploration with Apache Drill:  Day 1
Data Exploration with Apache Drill: Day 1
Charles Givre
 
Embedded Typesafe Domain Specific Languages for Java
Embedded Typesafe Domain Specific Languages for JavaEmbedded Typesafe Domain Specific Languages for Java
Embedded Typesafe Domain Specific Languages for Java
Jevgeni Kabanov
 
Web Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) SlidesWeb Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) Slides
Manish Sinha
 
A testing framework for Microsoft SQL-Server
A testing framework for Microsoft SQL-ServerA testing framework for Microsoft SQL-Server
A testing framework for Microsoft SQL-Server
elliando dias
 
When to NoSQL and when to know SQL
When to NoSQL and when to know SQLWhen to NoSQL and when to know SQL
When to NoSQL and when to know SQL
Simon Elliston Ball
 
How Clean is your database? Data scrubbing for all skills sets
How Clean is your database? Data scrubbing for all skills setsHow Clean is your database? Data scrubbing for all skills sets
How Clean is your database? Data scrubbing for all skills sets
Chad Petrovay
 
How did i steal your database CSCamp2011
How did i steal your database CSCamp2011How did i steal your database CSCamp2011
How did i steal your database CSCamp2011
Mostafa Siraj
 
Training on Microsoft SQL Server(older version).pptx
Training on Microsoft SQL Server(older version).pptxTraining on Microsoft SQL Server(older version).pptx
Training on Microsoft SQL Server(older version).pptx
naibedyakar00
 
Sql Basics | Edureka
Sql Basics | EdurekaSql Basics | Edureka
Sql Basics | Edureka
Edureka!
 
Database development coding standards
Database development coding standardsDatabase development coding standards
Database development coding standards
Alessandro Baratella
 
Sql query tuning or query optimization
Sql query tuning or query optimizationSql query tuning or query optimization
Sql query tuning or query optimization
Vivek Singh
 
Coding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean CodeCoding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean Code
Ganesh Samarthyam
 
Coding Guidelines in CPP
Coding Guidelines in CPPCoding Guidelines in CPP
Coding Guidelines in CPP
CodeOps Technologies LLP
 
Sql queries - Basics
Sql queries - BasicsSql queries - Basics
Sql queries - Basics
Purvik Rana
 
Plone For Developers - World Plone Day, 2009
Plone For Developers - World Plone Day, 2009Plone For Developers - World Plone Day, 2009
Plone For Developers - World Plone Day, 2009
Core Software Group
 
My SQL Skills Killed the Server
My SQL Skills Killed the ServerMy SQL Skills Killed the Server
My SQL Skills Killed the Server
devObjective
 
SQL on Linux and its uses and application.pdf
SQL on Linux and its uses and application.pdfSQL on Linux and its uses and application.pdf
SQL on Linux and its uses and application.pdf
bhaveshsethi456
 
Database queries
Database queriesDatabase queries
Database queries
laiba29012
 
53 SQL Questions-Answers=53 SQL Questions-Answers
53 SQL Questions-Answers=53 SQL Questions-Answers53 SQL Questions-Answers=53 SQL Questions-Answers
53 SQL Questions-Answers=53 SQL Questions-Answers
marukochan23
 
Micro-ORM Introduction - Don't overcomplicate
Micro-ORM Introduction - Don't overcomplicateMicro-ORM Introduction - Don't overcomplicate
Micro-ORM Introduction - Don't overcomplicate
Kiev ALT.NET
 
Data Exploration with Apache Drill: Day 1
Data Exploration with Apache Drill:  Day 1Data Exploration with Apache Drill:  Day 1
Data Exploration with Apache Drill: Day 1
Charles Givre
 
Embedded Typesafe Domain Specific Languages for Java
Embedded Typesafe Domain Specific Languages for JavaEmbedded Typesafe Domain Specific Languages for Java
Embedded Typesafe Domain Specific Languages for Java
Jevgeni Kabanov
 
Web Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) SlidesWeb Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) Slides
Manish Sinha
 
A testing framework for Microsoft SQL-Server
A testing framework for Microsoft SQL-ServerA testing framework for Microsoft SQL-Server
A testing framework for Microsoft SQL-Server
elliando dias
 
When to NoSQL and when to know SQL
When to NoSQL and when to know SQLWhen to NoSQL and when to know SQL
When to NoSQL and when to know SQL
Simon Elliston Ball
 
How Clean is your database? Data scrubbing for all skills sets
How Clean is your database? Data scrubbing for all skills setsHow Clean is your database? Data scrubbing for all skills sets
How Clean is your database? Data scrubbing for all skills sets
Chad Petrovay
 
How did i steal your database CSCamp2011
How did i steal your database CSCamp2011How did i steal your database CSCamp2011
How did i steal your database CSCamp2011
Mostafa Siraj
 
Training on Microsoft SQL Server(older version).pptx
Training on Microsoft SQL Server(older version).pptxTraining on Microsoft SQL Server(older version).pptx
Training on Microsoft SQL Server(older version).pptx
naibedyakar00
 
Sql Basics | Edureka
Sql Basics | EdurekaSql Basics | Edureka
Sql Basics | Edureka
Edureka!
 
Database development coding standards
Database development coding standardsDatabase development coding standards
Database development coding standards
Alessandro Baratella
 
Sql query tuning or query optimization
Sql query tuning or query optimizationSql query tuning or query optimization
Sql query tuning or query optimization
Vivek Singh
 
Coding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean CodeCoding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean Code
Ganesh Samarthyam
 
Sql queries - Basics
Sql queries - BasicsSql queries - Basics
Sql queries - Basics
Purvik Rana
 
Plone For Developers - World Plone Day, 2009
Plone For Developers - World Plone Day, 2009Plone For Developers - World Plone Day, 2009
Plone For Developers - World Plone Day, 2009
Core Software Group
 
My SQL Skills Killed the Server
My SQL Skills Killed the ServerMy SQL Skills Killed the Server
My SQL Skills Killed the Server
devObjective
 
Ad

More from Pongsakorn U-chupala (10)

Container Rebalancing: Towards Proactive Linux Containers Placement in a Data...
Container Rebalancing: Towards Proactive Linux Containers Placement in a Data...Container Rebalancing: Towards Proactive Linux Containers Placement in a Data...
Container Rebalancing: Towards Proactive Linux Containers Placement in a Data...
Pongsakorn U-chupala
 
Application-Oriented Bandwidth and Latency Aware Routing with OpenFlow Network
Application-Oriented Bandwidth and Latency Aware Routing with OpenFlow NetworkApplication-Oriented Bandwidth and Latency Aware Routing with OpenFlow Network
Application-Oriented Bandwidth and Latency Aware Routing with OpenFlow Network
Pongsakorn U-chupala
 
Designing of SDN-Assisted Bandwidth and Latency Aware Route Allocation
Designing of SDN-Assisted Bandwidth and Latency Aware Route AllocationDesigning of SDN-Assisted Bandwidth and Latency Aware Route Allocation
Designing of SDN-Assisted Bandwidth and Latency Aware Route Allocation
Pongsakorn U-chupala
 
Vision of the future Ambient Intelligence
Vision of the future Ambient IntelligenceVision of the future Ambient Intelligence
Vision of the future Ambient Intelligence
Pongsakorn U-chupala
 
An Implementation of Virtual Cluster on a Cloud
An Implementation of Virtual Cluster on a CloudAn Implementation of Virtual Cluster on a Cloud
An Implementation of Virtual Cluster on a Cloud
Pongsakorn U-chupala
 
Anime Discussion (Fall 2010)
Anime Discussion (Fall 2010)Anime Discussion (Fall 2010)
Anime Discussion (Fall 2010)
Pongsakorn U-chupala
 
Getting Things Done with "Getting Things Done"
Getting Things Done with "Getting Things Done"Getting Things Done with "Getting Things Done"
Getting Things Done with "Getting Things Done"
Pongsakorn U-chupala
 
Introduction to MVC Web Framework with CodeIgniter
Introduction to MVC Web Framework with CodeIgniterIntroduction to MVC Web Framework with CodeIgniter
Introduction to MVC Web Framework with CodeIgniter
Pongsakorn U-chupala
 
Are you ready for Google Wave?
Are you ready for Google Wave?Are you ready for Google Wave?
Are you ready for Google Wave?
Pongsakorn U-chupala
 
How to develop a homebrew application for Nintendo Wii
How to develop a homebrew application for Nintendo WiiHow to develop a homebrew application for Nintendo Wii
How to develop a homebrew application for Nintendo Wii
Pongsakorn U-chupala
 
Container Rebalancing: Towards Proactive Linux Containers Placement in a Data...
Container Rebalancing: Towards Proactive Linux Containers Placement in a Data...Container Rebalancing: Towards Proactive Linux Containers Placement in a Data...
Container Rebalancing: Towards Proactive Linux Containers Placement in a Data...
Pongsakorn U-chupala
 
Application-Oriented Bandwidth and Latency Aware Routing with OpenFlow Network
Application-Oriented Bandwidth and Latency Aware Routing with OpenFlow NetworkApplication-Oriented Bandwidth and Latency Aware Routing with OpenFlow Network
Application-Oriented Bandwidth and Latency Aware Routing with OpenFlow Network
Pongsakorn U-chupala
 
Designing of SDN-Assisted Bandwidth and Latency Aware Route Allocation
Designing of SDN-Assisted Bandwidth and Latency Aware Route AllocationDesigning of SDN-Assisted Bandwidth and Latency Aware Route Allocation
Designing of SDN-Assisted Bandwidth and Latency Aware Route Allocation
Pongsakorn U-chupala
 
Vision of the future Ambient Intelligence
Vision of the future Ambient IntelligenceVision of the future Ambient Intelligence
Vision of the future Ambient Intelligence
Pongsakorn U-chupala
 
An Implementation of Virtual Cluster on a Cloud
An Implementation of Virtual Cluster on a CloudAn Implementation of Virtual Cluster on a Cloud
An Implementation of Virtual Cluster on a Cloud
Pongsakorn U-chupala
 
Getting Things Done with "Getting Things Done"
Getting Things Done with "Getting Things Done"Getting Things Done with "Getting Things Done"
Getting Things Done with "Getting Things Done"
Pongsakorn U-chupala
 
Introduction to MVC Web Framework with CodeIgniter
Introduction to MVC Web Framework with CodeIgniterIntroduction to MVC Web Framework with CodeIgniter
Introduction to MVC Web Framework with CodeIgniter
Pongsakorn U-chupala
 
How to develop a homebrew application for Nintendo Wii
How to develop a homebrew application for Nintendo WiiHow to develop a homebrew application for Nintendo Wii
How to develop a homebrew application for Nintendo Wii
Pongsakorn U-chupala
 

Recently uploaded (20)

Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 

Introduction to database

  • 1. Introduction to DatabaseWith Microsoft Office Access 2007
  • 2. AgendaGetting to Know DatabaseBasic of Microsoft Office Access 2007Basic Operations of DatabaseStructured Query Language (SQL)CRUD Operations
  • 3. Getting to Know Database
  • 4. Definition of DatabaseOrganized mechanism to store, manage and retrieve informationEfficientRobustStableArranged in tabular fashionApparent relationship between informationThe most important aspectWon’t be taught in this class :-(
  • 5. Consists of a table, multiple fields and many columnsA Really Simple Database
  • 6. Organization of DatabaseTablesFields (Columns)Has many typesPrimary Key (Optional)Records (Rows, Entries)
  • 7. When to Use Database? (1/3)AppropriateAppropriateInappropriateAppropriateInappropriateAppropriate
  • 8. When to Use Database? (2/3)Transaction recordsLoggingBlog/ForumMedia LibraryShopping listMusic playlistAppropriateInappropriate
  • 9. When to Use Database? (3/3)Managing mass amount of informationSharing Information between many usersManipulating complicatedly related informationNeed securityDesire organization
  • 10. Under the HoodInfrastructure of DatabaseImplementations in which we are going to learn
  • 12. Don’t panic! You’ll soon be familiar with it.Microsoft Office Access 2007
  • 16. Structured Query Language (SQL)Defines methods to manipulate databaseAttempt to request something from Database is called QueryEach formed SQL statement refer as SQL QueryResembles natural languageHas many standardsHowever, the basic part is still the same
  • 17. CRUDCreate new tables and recordsRetrieve records from tablesUpdate tables’ definition and record’s dataDelete existing tables and records
  • 18. CRUD : CreateINSERT INTO <table_name> (<field_list>)VALUES (<value_list>);AutoNumber field must not be includedExamplesINSERT INTO students (nisit_id, name, surname) VALUES (51052744, “Pongsakorn”, “U-chupala”);
  • 19. CRUD : Create - ExampleINSERT INTO students(nisit_id, name, surname)VALUES (51052744, “Pongsakorn”, “U-chupala”);
  • 20. CRUD : Create - ExampleINSERT INTO students(nisit_id, name, surname)VALUES (51052744, “Pongsakorn”, “U-chupala”);
  • 21. CRUD : Create - PracticeInsert a record with every field specified
  • 22. CRUD : RetrieveSELECT <select_list> FROM <table_name>[ WHERE <search_condition> ][ ORDER BY <order_expression> [ ASC | DESC ] ];Select which fields to retrieve ExamplesSELECT field_1, field_2 FROM table_name …SELECT * FROM table_name …
  • 23. CRUD : RetrieveSELECT <select_list> FROM <table_name>[ WHERE <search_condition> ][ ORDER BY <order_expression> [ ASC | DESC ] ];Available operators: =, <, >, <=, >=, <>Modifiers: AND, OR, NOT, ()Examples… WHERE student_id=1 …… WHEHE (<cond1>) AND (<cond2>) …
  • 24. CRUD : RetrieveSELECT <select_list> FROM <table_name>[ WHERE <search_condition> ][ ORDER BY <order_expression> [ ASC | DESC ] ];Sort results by order expression ascending (default) or descendingExpression can be chained togetherExamples… ORDER BY date DESC …… ORDER BY name ASC, surname ASC …
  • 25. CRUD : Retrieve - ExampleSELECT name, height FROM studentsWHERE height>160ORDER BY height DESC;
  • 26. CRUD : Retrieve - ExampleSELECT name, height FROM studentsWHERE height>160ORDER BY height DESC;
  • 27. CRUD : Retrieve - PracticeSelect every record, sort by STU_ID, ascendingSelect name, surname and height of everyone shorter than 170Select everyone heavier than 70, sort by height, descending
  • 28. CRUD : UpdateUPDATE <table_name> SET <field_value_list>[ WHERE <search_condition> ];Update every record that match the search conditionWe usually use primary key for thisExamplesUPDATE students SET name=“Knight”, surname=“Baron” WHERE nisit_id=1;
  • 29. CRUD : Update - ExampleUPDATE students SET name=“Knight”, surname=“Baron”WHERE nisit_id=51052744;
  • 30. CRUD : Update - ExampleUPDATE students SET name=“Knight”, surname=“Baron”WHERE nisit_id=51052744;
  • 31. CRUD : Update - PracticeUpdate the record that you’ve added earlier with different data
  • 32. CRUD : DeleteDELETE FROM <table_name>WHERE <search_condition> ;Delete every record that match the search conditionExamplesDELETE FROM students WHERE id=1DELETE FROM students WHERE (name=“Knight”) AND (surname=“Baron”);
  • 33. CRUD : Delete - ExampleDELETE FROM studentsWHERE (nisit_id=51052345) OR (nisit_id=51052744);
  • 34. CRUD : Delete - ExampleDELETE FROM studentsWHERE (nisit_id=51052345) OR (nisit_id=51052744);
  • 35. CRUD : Delete - ExampleDELETE FROM studentsWHERE (nisit_id=51052345) OR (nisit_id=51052744);
  • 36. CRUD : Delete - PracticeDelete the record you’ve modified earlier
  • 38. ReviewGetting to know DatabaseDefinitionOrganizationPracticing with Access 2007Database operationsSQL SyntaxCRUD Operations
  • 39. Please do not hesitate to askAny Questions?