MySQL Basics
Lesson 00:
DBMS SQL
IGATE is now a part of Capgemini
Document History
Software Change
Course Developer /
Date Version Record
SME
Version No. No. Remarks
Content
13-Nov-08 1 9i Rajita Dhumal
Creation
14-Nov-08 1.1 9i CLS team Review
14-Jan-10 1.2 9i Anu Mitra Review
Incorporating
Rajita Dhumal,
14-Jan-10 1.2 9i Review
CLS Team
comments
Integration
25-Apr-11 2 9i Anu Mitra
refinements
Hareshkumar Courseware
17-May-13 2.1 9i
Chandiramani refinements
Courseware
21-Apr-15 2.2 9i Kavita Arora
refinements
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 2
Document History
Software Change
Course Developer /
Date Version Record
SME
Version No. No. Remarks
Courseware
Vaishali
Apr-2018 2.3 9i refinements as
Srivastava
per Cloud TOC
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 3
Course Goals and Non Goals
Course Goals
• To understand basic DBMS, and use SQL commands.
Course Non Goals
• Nothing Specific.
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 4
Pre-requisites
A proficiency level in familiarity with Windows.
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 5
Intended Audience
Software Programmers
Software Analysts
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 6
Day Wise Schedule
Day 1
Lesson 1: Introduction to Database
Lesson 2: Basics of SQL
Lesson 3: Data Query Language
Lesson 4: Aggregate (Group) Functions
Lesson 5: SQL (Single-row) functions
Day 2
Lesson 6: Joins
Lesson 6: ( contd ) Sub-queries
Lesson 7: Database Objects
Lesson 8: Data Manipulation Language
Lesson 9: Transaction Control Language
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 7
Table of Contents
Lesson 1: Getting Started with Database
1.1: Introduction to Database
1.2: Characteristics of DBMS
1.3: Data models
1.4: Relational DBMS
1.5: Database Administrator
Lesson 2: Basics of SQL
2.1. The SQL Language
2.2. Rules for SQL Statements
2.3. Standard SQL Statement Groups
2.4: Logging to Oracle Server
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 8
Table of Contents
Lesson 3: Data Query Language
3.1: The SELECT statement
3.2: The WHERE and AS clauses
3.3: Mathematical ,Comparison and Logical operators
3.4: The DISTINCT clause
3.5: The ORDER BY clause
3.6: Tips and Tricks in SELECT Statements
Lesson 4: Aggregate (Group) functions
4.1: The Group function
4.2: GROUP BY & HAVING clause
4.3: Examples of GROUP BY and HAVING clauses
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 9
Table of Contents
Lesson 5: SQL (Single-row) functions
5.1: SQL functions
5.2: Number functions
5.3: Character functions
5.4: Date functions
5.5: Conversion functions
5.6: Miscellaneous functions
5.7: Tips and Tricks
Lesson 6: Joins and Sub-queries
6.1: Joins
• 6.1.1: Oracle Proprietary Joins
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 10
Table of Contents
Lesson 6: Joins and Sub-queries (continued)
6.2: Sub-query
6.3: Tips and Tricks
Lesson 7: Database Objects
7.1: Basic Data Types
7.2: Data Integrity
7.3: Examples of CREATE TABLE
7.4: Examples of ALTER TABLE
7.5: Database Objects
7.6: Index
7.7: View
7.8: Deleting Database Objects
7.9: Tips and Tricks
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 11
Table of Contents
Lesson 8: Data Manipulation Language
8.1: Adding Data
8.2: Removing Data
8.3: Modifying Data
Lesson 9: Transaction Control Language
9.1: Introduction to Transactions
9.2: Statement Execution and Transaction Control
9.3 Commit Transactions
9.4 Rollback Transactions
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 12
References
RDBMS Concepts - A Primer
[Link]
Introduction to Database Systems; by [Link]
Relational Database Theory; by Atzeni, De Antonellis
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 13
Other Parallel Technology Areas
MS-Access
SQL Server
DB2
Oracle
Presentation Title | Author | Date © 2017 Capgemini. All rights reserved. 14