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 (20)

SQL - DML and DDL Commands
SQL - DML and DDL CommandsSQL - DML and DDL Commands
SQL - DML and DDL Commands
 
Database Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal GulatiDatabase Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal Gulati
 
MySQL ppt
MySQL ppt MySQL ppt
MySQL ppt
 
Sql ppt
Sql pptSql ppt
Sql ppt
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database Introduction
 
SQL
SQLSQL
SQL
 
Structured query language(sql)ppt
Structured query language(sql)pptStructured query language(sql)ppt
Structured query language(sql)ppt
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Sql commands
Sql commandsSql commands
Sql commands
 
Database management system
Database management system   Database management system
Database management system
 
Types of databases
Types of databases   Types of databases
Types of databases
 

Viewers also liked

Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notesnaeem_mnm
 
Introduction to Microsoft Office
Introduction to Microsoft OfficeIntroduction to Microsoft Office
Introduction to Microsoft OfficeCik Na Shohaili
 
Database management system
Database management systemDatabase management system
Database management systemRizwanHafeez
 
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 officeVijayraj Daksh
 
Computer Security and Risks
Computer Security and RisksComputer Security and Risks
Computer Security and RisksMiguel Rebollo
 

Viewers also liked (11)

Tacit knowledge
Tacit knowledgeTacit knowledge
Tacit knowledge
 
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
 
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 querieslaiba29012
 
Micro-ORM Introduction - Don't overcomplicate
Micro-ORM Introduction - Don't overcomplicateMicro-ORM Introduction - Don't overcomplicate
Micro-ORM Introduction - Don't overcomplicateKiev 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 1Charles 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 JavaJevgeni Kabanov
 
Web Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) SlidesWeb Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) SlidesManish 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-Serverelliando 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 SQLSimon 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 setsChad 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 CSCamp2011Mostafa Siraj
 
Sql Basics | Edureka
Sql Basics | EdurekaSql Basics | Edureka
Sql Basics | EdurekaEdureka!
 
Database development coding standards
Database development coding standardsDatabase development coding standards
Database development coding standardsAlessandro Baratella
 
Sql query tuning or query optimization
Sql query tuning or query optimizationSql query tuning or query optimization
Sql query tuning or query optimizationVivek Singh
 
Coding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean CodeCoding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean CodeGanesh Samarthyam
 
Sql queries - Basics
Sql queries - BasicsSql queries - Basics
Sql queries - BasicsPurvik 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, 2009Core Software Group
 
My SQL Skills Killed the Server
My SQL Skills Killed the ServerMy SQL Skills Killed the Server
My SQL Skills Killed the ServerdevObjective
 
Полнотекстовый поиск в 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
 
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
Полнотекстовый поиск в PostgreSQL / Александр Алексеев (Postgres Professional)
 
Full Text Search in PostgreSQL
Full Text Search in PostgreSQLFull Text Search in PostgreSQL
Full Text Search in PostgreSQL
 

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 NetworkPongsakorn 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 AllocationPongsakorn U-chupala
 
Vision of the future Ambient Intelligence
Vision of the future Ambient IntelligenceVision of the future Ambient Intelligence
Vision of the future Ambient IntelligencePongsakorn 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 CloudPongsakorn 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 CodeIgniterPongsakorn 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 WiiPongsakorn 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

Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfChristopherTHyatt
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...Product School
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeCzechDreamin
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCzechDreamin
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaRTTS
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...CzechDreamin
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1DianaGray10
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka DoktorováCzechDreamin
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsExpeed Software
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
 

Recently uploaded (20)

Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 

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!