SlideShare a Scribd company logo
Introduction to Database With Microsoft Office Access 2007
Agenda Getting to Know Database Basic of Microsoft Office Access 2007 Basic Operations of Database Structured Query Language (SQL) CRUD Operations
Getting to Know Database
Definition of Database Organized mechanism to store, manage and retrieve information Efficient Robust Stable Arranged in tabular fashion Apparent relationship between information The most important aspect Won’t be taught in this class :-(
Consists of a table, multiple fields and many columns A Really Simple Database
Organization of Database Tables Fields (Columns) Has many types Primary Key (Optional) Records (Rows, Entries)
When to Use Database? (1/3) Appropriate Appropriate Inappropriate Appropriate Inappropriate Appropriate
When to Use Database? (2/3) Transaction records Logging Blog/Forum Media Library Shopping list Music playlist Appropriate Inappropriate
When to Use Database? (3/3) Managing mass amount of information Sharing Information between many users Manipulating complicatedly related information Need security Desire organization
Under the Hood Infrastructure of Database Implementations 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 database Attempt to request something from Database is called Query Each formed SQL statement refer as SQL Query Resembles natural language Has many standards However, the basic part is still the same
CRUD Create new tables and records Retrieve records from tables Update tables’ definition and record’s data Delete existing tables and records
CRUD : Create INSERT INTO <table_name> (<field_list>) VALUES (<value_list>); AutoNumber field must not be included Examples INSERT INTO students (nisit_id, name, surname) VALUES (51052744, “Pongsakorn”, “U-chupala”);
CRUD : Create - Example INSERT INTO students(nisit_id, name, surname) VALUES (51052744, “Pongsakorn”, “U-chupala”);
CRUD : Create - Example INSERT INTO students(nisit_id, name, surname) VALUES (51052744, “Pongsakorn”, “U-chupala”);
CRUD : Create - Practice Insert a record with every field specified
CRUD : Retrieve SELECT <select_list> FROM <table_name> [ WHERE <search_condition> ] [ ORDER BY <order_expression> [ ASC | DESC ] ]; Select which fields to retrieve  Examples SELECT field_1, field_2 FROM table_name … SELECT * FROM table_name …
CRUD : Retrieve SELECT <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 : Retrieve SELECT <select_list> FROM <table_name> [ WHERE <search_condition> ] [ ORDER BY <order_expression> [ ASC | DESC ] ]; Sort results by order expression ascending (default) or descending Expression can be chained together Examples … ORDER BY date DESC … … ORDER BY name ASC, surname ASC …
CRUD : Retrieve - Example SELECT name, height FROM students WHERE height>160 ORDER BY height DESC;
CRUD : Retrieve - Example SELECT name, height FROM students WHERE height>160 ORDER BY height DESC;
CRUD : Retrieve - Practice Select every record, sort by STU_ID, ascending Select name, surname and height of everyone shorter than 170 Select everyone heavier than 70, sort by height, descending
CRUD : Update UPDATE <table_name> SET <field_value_list> [ WHERE <search_condition> ]; Update every record that match the search condition We usually use primary key for this Examples UPDATE students SET name=“Knight”, surname=“Baron” WHERE nisit_id=1;
CRUD : Update - Example UPDATE students SET name=“Knight”, surname=“Baron” WHERE nisit_id=51052744;
CRUD : Update - Example UPDATE students SET name=“Knight”, surname=“Baron” WHERE nisit_id=51052744;
CRUD : Update - Practice Update the record that you’ve added earlier with different data
CRUD : Delete DELETE FROM <table_name> WHERE <search_condition> ; Delete every record that match the search condition Examples DELETE FROM students WHERE id=1 DELETE FROM students WHERE (name=“Knight”) AND (surname=“Baron”);
CRUD : Delete - Example DELETE FROM students WHERE (nisit_id=51052345) OR (nisit_id=51052744);
CRUD : Delete - Example DELETE FROM students WHERE (nisit_id=51052345) OR (nisit_id=51052744);
CRUD : Delete - Example DELETE FROM students WHERE (nisit_id=51052345) OR (nisit_id=51052744);
CRUD : Delete - Practice Delete the record you’ve modified earlier
Conclusion
Review Getting to know Database Definition Organization Practicing with Access 2007 Database operations SQL Syntax CRUD Operations
Please do not hesitate to ask Any Questions?
Author: @KnightBaron Blog: http://aosekai.net/ Email: knightbaron@gmail.com Thank You!

More Related Content

What's hot

Introduction to-sql
Introduction to-sqlIntroduction to-sql
Introduction to-sql
BG Java EE Course
 
Ms sql-server
Ms sql-serverMs sql-server
Ms sql-server
Md.Mojibul Hoque
 
5. stored procedure and functions
5. stored procedure and functions5. stored procedure and functions
5. stored procedure and functions
Amrit Kaur
 
Mysql
MysqlMysql
Mysql
TSUBHASHRI
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
Smriti Jain
 
Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)
Punjab University
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
farwa waqar
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
Prateek Parimal
 
ER-Model-ER Diagram
ER-Model-ER DiagramER-Model-ER Diagram
ER-Model-ER Diagram
Saranya Natarajan
 
Sql subquery
Sql  subquerySql  subquery
Sql subquery
Raveena Thakur
 
Sql commands
Sql commandsSql commands
Sql commands
Pooja Dixit
 
Sql Constraints
Sql ConstraintsSql Constraints
Sql Constraints
I L0V3 CODING DR
 
SQL Views
SQL ViewsSQL Views
SQL Queries
SQL QueriesSQL Queries
SQL Queries
Nilt1234
 
Sql views
Sql viewsSql views
Sql views
arshid045
 
A short introduction to database systems.ppt
A short introduction to  database systems.pptA short introduction to  database systems.ppt
A short introduction to database systems.ppt
Muruly Krishan
 
SQL - DML and DDL Commands
SQL - DML and DDL CommandsSQL - DML and DDL Commands
SQL - DML and DDL Commands
Shrija Madhu
 
Types of keys in database | SQL
Types of keys in database | SQLTypes of keys in database | SQL
Types of keys in database | SQL
Sumit Pandey
 
Joins And Its Types
Joins And Its TypesJoins And Its Types
Joins And Its Types
Wings Interactive
 
SQL commands
SQL commandsSQL commands
SQL commands
GirdharRatne
 

What's hot (20)

Introduction to-sql
Introduction to-sqlIntroduction to-sql
Introduction to-sql
 
Ms sql-server
Ms sql-serverMs sql-server
Ms sql-server
 
5. stored procedure and functions
5. stored procedure and functions5. stored procedure and functions
5. stored procedure and functions
 
Mysql
MysqlMysql
Mysql
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
 
Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
ER-Model-ER Diagram
ER-Model-ER DiagramER-Model-ER Diagram
ER-Model-ER Diagram
 
Sql subquery
Sql  subquerySql  subquery
Sql subquery
 
Sql commands
Sql commandsSql commands
Sql commands
 
Sql Constraints
Sql ConstraintsSql Constraints
Sql Constraints
 
SQL Views
SQL ViewsSQL Views
SQL Views
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
 
Sql views
Sql viewsSql views
Sql views
 
A short introduction to database systems.ppt
A short introduction to  database systems.pptA short introduction to  database systems.ppt
A short introduction to database systems.ppt
 
SQL - DML and DDL Commands
SQL - DML and DDL CommandsSQL - DML and DDL Commands
SQL - DML and DDL Commands
 
Types of keys in database | SQL
Types of keys in database | SQLTypes of keys in database | SQL
Types of keys in database | SQL
 
Joins And Its Types
Joins And Its TypesJoins And Its Types
Joins And Its Types
 
SQL commands
SQL commandsSQL commands
SQL commands
 

Viewers also liked

Dbms slides
Dbms slidesDbms slides
Dbms slides
rahulrathore725
 
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
 

Viewers also liked (15)

Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Tacit knowledge
Tacit knowledgeTacit knowledge
Tacit knowledge
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Data base management system
Data base management systemData base management system
Data base management system
 
Types of databases
Types of databasesTypes of databases
Types of databases
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notes
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Introduction to Microsoft Office
Introduction to Microsoft OfficeIntroduction to Microsoft Office
Introduction to Microsoft Office
 
Database management system
Database management systemDatabase management system
Database management system
 
Computer Security
Computer SecurityComputer Security
Computer Security
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
 
A presentation on ms office
A presentation on ms officeA presentation on ms office
A presentation on ms office
 
Computer Security and Risks
Computer Security and RisksComputer Security and Risks
Computer Security and Risks
 

Similar to Introduction to database

Database queries
Database queriesDatabase queries
Database queries
laiba29012
 
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
 
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 in CPP
Coding Guidelines in CPPCoding Guidelines in CPP
Coding Guidelines in CPP
CodeOps Technologies LLP
 
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
 
Sql killedserver
Sql killedserverSql killedserver
Sql killedserver
ColdFusionConference
 
Full Text Search in PostgreSQL
Full Text Search in PostgreSQLFull Text Search in PostgreSQL
Full Text Search in PostgreSQL
Aleksander Alekseev
 
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
Ontico
 

Similar to Introduction to database (20)

Database queries
Database queriesDatabase queries
Database queries
 
Micro-ORM Introduction - Don't overcomplicate
Micro-ORM Introduction - Don't overcomplicateMicro-ORM Introduction - Don't overcomplicate
Micro-ORM Introduction - Don't overcomplicate
 
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
 
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
 
Web Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) SlidesWeb Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) Slides
 
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
 
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
 
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
 
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
 
Sql Basics | Edureka
Sql Basics | EdurekaSql Basics | Edureka
Sql Basics | Edureka
 
Database development coding standards
Database development coding standardsDatabase development coding standards
Database development coding standards
 
Sql query tuning or query optimization
Sql query tuning or query optimizationSql query tuning or query optimization
Sql query tuning or query optimization
 
Coding Guidelines in CPP
Coding Guidelines in CPPCoding Guidelines in CPP
Coding Guidelines in CPP
 
Coding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean CodeCoding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean Code
 
Sql queries - Basics
Sql queries - BasicsSql queries - Basics
Sql queries - Basics
 
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
 
My SQL Skills Killed the Server
My SQL Skills Killed the ServerMy SQL Skills Killed the Server
My SQL Skills Killed the Server
 
Sql killedserver
Sql killedserverSql killedserver
Sql killedserver
 
Full Text Search in PostgreSQL
Full Text Search in PostgreSQLFull Text Search in PostgreSQL
Full Text Search in PostgreSQL
 
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
 

More from 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
 
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
 

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...
 
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
 
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
 
Vision of the future Ambient Intelligence
Vision of the future Ambient IntelligenceVision of the future Ambient Intelligence
Vision of the future Ambient Intelligence
 
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
 
Anime Discussion (Fall 2010)
Anime Discussion (Fall 2010)Anime Discussion (Fall 2010)
Anime Discussion (Fall 2010)
 
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"
 
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
 
Are you ready for Google Wave?
Are you ready for Google Wave?Are you ready for Google Wave?
Are you ready for Google Wave?
 
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
 

Recently uploaded

Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
flufftailshop
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 

Recently uploaded (20)

Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 

Introduction to database

  • 1. Introduction to Database With Microsoft Office Access 2007
  • 2. Agenda Getting to Know Database Basic of Microsoft Office Access 2007 Basic Operations of Database Structured Query Language (SQL) CRUD Operations
  • 3. Getting to Know Database
  • 4. Definition of Database Organized mechanism to store, manage and retrieve information Efficient Robust Stable Arranged in tabular fashion Apparent relationship between information The most important aspect Won’t be taught in this class :-(
  • 5. Consists of a table, multiple fields and many columns A Really Simple Database
  • 6. Organization of Database Tables Fields (Columns) Has many types Primary Key (Optional) Records (Rows, Entries)
  • 7. When to Use Database? (1/3) Appropriate Appropriate Inappropriate Appropriate Inappropriate Appropriate
  • 8. When to Use Database? (2/3) Transaction records Logging Blog/Forum Media Library Shopping list Music playlist Appropriate Inappropriate
  • 9. When to Use Database? (3/3) Managing mass amount of information Sharing Information between many users Manipulating complicatedly related information Need security Desire organization
  • 10. Under the Hood Infrastructure of Database Implementations 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 database Attempt to request something from Database is called Query Each formed SQL statement refer as SQL Query Resembles natural language Has many standards However, the basic part is still the same
  • 17. CRUD Create new tables and records Retrieve records from tables Update tables’ definition and record’s data Delete existing tables and records
  • 18. CRUD : Create INSERT INTO <table_name> (<field_list>) VALUES (<value_list>); AutoNumber field must not be included Examples INSERT INTO students (nisit_id, name, surname) VALUES (51052744, “Pongsakorn”, “U-chupala”);
  • 19. CRUD : Create - Example INSERT INTO students(nisit_id, name, surname) VALUES (51052744, “Pongsakorn”, “U-chupala”);
  • 20. CRUD : Create - Example INSERT INTO students(nisit_id, name, surname) VALUES (51052744, “Pongsakorn”, “U-chupala”);
  • 21. CRUD : Create - Practice Insert a record with every field specified
  • 22. CRUD : Retrieve SELECT <select_list> FROM <table_name> [ WHERE <search_condition> ] [ ORDER BY <order_expression> [ ASC | DESC ] ]; Select which fields to retrieve Examples SELECT field_1, field_2 FROM table_name … SELECT * FROM table_name …
  • 23. CRUD : Retrieve SELECT <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 : Retrieve SELECT <select_list> FROM <table_name> [ WHERE <search_condition> ] [ ORDER BY <order_expression> [ ASC | DESC ] ]; Sort results by order expression ascending (default) or descending Expression can be chained together Examples … ORDER BY date DESC … … ORDER BY name ASC, surname ASC …
  • 25. CRUD : Retrieve - Example SELECT name, height FROM students WHERE height>160 ORDER BY height DESC;
  • 26. CRUD : Retrieve - Example SELECT name, height FROM students WHERE height>160 ORDER BY height DESC;
  • 27. CRUD : Retrieve - Practice Select every record, sort by STU_ID, ascending Select name, surname and height of everyone shorter than 170 Select everyone heavier than 70, sort by height, descending
  • 28. CRUD : Update UPDATE <table_name> SET <field_value_list> [ WHERE <search_condition> ]; Update every record that match the search condition We usually use primary key for this Examples UPDATE students SET name=“Knight”, surname=“Baron” WHERE nisit_id=1;
  • 29. CRUD : Update - Example UPDATE students SET name=“Knight”, surname=“Baron” WHERE nisit_id=51052744;
  • 30. CRUD : Update - Example UPDATE students SET name=“Knight”, surname=“Baron” WHERE nisit_id=51052744;
  • 31. CRUD : Update - Practice Update the record that you’ve added earlier with different data
  • 32. CRUD : Delete DELETE FROM <table_name> WHERE <search_condition> ; Delete every record that match the search condition Examples DELETE FROM students WHERE id=1 DELETE FROM students WHERE (name=“Knight”) AND (surname=“Baron”);
  • 33. CRUD : Delete - Example DELETE FROM students WHERE (nisit_id=51052345) OR (nisit_id=51052744);
  • 34. CRUD : Delete - Example DELETE FROM students WHERE (nisit_id=51052345) OR (nisit_id=51052744);
  • 35. CRUD : Delete - Example DELETE FROM students WHERE (nisit_id=51052345) OR (nisit_id=51052744);
  • 36. CRUD : Delete - Practice Delete the record you’ve modified earlier
  • 38. Review Getting to know Database Definition Organization Practicing with Access 2007 Database operations SQL Syntax CRUD Operations
  • 39. Please do not hesitate to ask Any Questions?
  • 40. Author: @KnightBaron Blog: http://aosekai.net/ Email: knightbaron@gmail.com Thank You!