SlideShare una empresa de Scribd logo
1 de 40
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!

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
 
Sql Server Basics
Sql Server BasicsSql Server Basics
Sql Server Basics
 
Creating a database
Creating a databaseCreating a database
Creating a database
 
Sql a practical introduction
Sql   a practical introductionSql   a practical introduction
Sql a practical introduction
 
Mysql ppt
Mysql pptMysql ppt
Mysql ppt
 
Introduction to structured query language (sql)
Introduction to structured query language (sql)Introduction to structured query language (sql)
Introduction to structured query language (sql)
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Mysql Ppt
Mysql PptMysql Ppt
Mysql Ppt
 
SQL Overview
SQL OverviewSQL Overview
SQL Overview
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Implementation Issue with ORDBMS
Implementation Issue with ORDBMSImplementation Issue with ORDBMS
Implementation Issue with ORDBMS
 
SQL Commands
SQL Commands SQL Commands
SQL Commands
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Sql database object
Sql database objectSql database object
Sql database object
 
The three level of data modeling
The three level of data modelingThe three level of data modeling
The three level of data modeling
 
File system vs DBMS
File system vs DBMSFile system vs DBMS
File system vs DBMS
 
Database constraints
Database constraintsDatabase constraints
Database constraints
 
Lect 08 materialized view
Lect 08 materialized viewLect 08 materialized view
Lect 08 materialized view
 
Type of database models
Type of database modelsType of database models
Type of database models
 

Destacado

Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
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
 

Destacado (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 a 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 a 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)
 

Más de 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
 

Más de 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
 

Último

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Último (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

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!