PeteEs / mysql_book_exercises

Solutions for exercises from 'Murach's MySQL'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo contains my solutions for exercises from 'Murach's MySQL'


πŸ“˜ SECTION 1:

- CHAPTER 1: βœ”οΈ
An introduction to relational databases
(no exercises done)

- CHAPTER 2: βœ”οΈ
How to use MySQL Workbench and other development tools

- CHAPTER 3: βœ”οΈ
How to retrieve data from a single table
(SELECT, WHERE, ORDER BY, LIMIT)

- CHAPTER 4: βœ”οΈ
How to retrieve data from two or more tables
(INNER JOINS, OUTER JOINS)

- CHAPTER 5: βœ”οΈ
How to insert, update and delete data
(INSERT, UPDATE, DELETE)

πŸ“˜ SECTION 2:

- CHAPTER 6: βœ”οΈ
How to code summary queries
(GROUP BY, HAVING, WITH ROLLUP, GROUPING, AGGREGATE WINDOWS, FRAMES)

- CHAPTER 7: βœ”οΈ
How to code subqueries
(SUBQUERIES IN WHERE, HAVING, SELECT, FROM; CTE)

- CHAPTER 8: βœ”οΈ
How to work with datatypes
(DATA TYPES; ENUM, SET; FUNCTIONS: CAST, CONVERT, FORMAT, CHART)

- CHAPTER 9: βœ”οΈ
How to use functions
(FUNCTIONS FOR STRING & NUMERIC DATA; DATE/TIME; FUNCTIONS LIKE: CASE, IF, IFNULL; REGEX / RANKING / ANALYTIC FUNCS)

πŸ“˜ SECTION 3:

- CHAPTER 10: βœ”οΈ
How to design a database
(DATA STRUCTURE, RELATIONSHIPS, NORMALIZATION, EER MODEL)

- CHAPTER 11: βœ”οΈ
How to create database, tables, and indexes
(CREATE DATABASE/TABLE, KEYS, ALTER TABLE, RENAME, TRUNCATE, DROP, INDEXES, CHARACTER SETS, STORAGE ENGINES)

- CHAPTER 12: βœ”οΈ
How to create views
(CREATE VIEW, UPDATABLE VIEWS, INSERT/DELETE, DROP)

πŸ“˜ SECTION 4:

- CHAPTER 13: βœ”οΈ
Language skills for writing stored programs
(DECLARE, IF/ELSE/ELSEIF, CASE/WHEN/THEN, LOOPS, CURSORS, ERROS HANDLING)

- CHAPTER 14: βœ”οΈ
How to use transactions and locking
(TRANSACTIONS - COMMIT/ROLLBACK, SAVE POINTS, CONCURRENCY, LOCKING)

- CHAPTER 15: βœ”οΈ
How to create stored procedures and functions
(IN/OUT/INOUT PARAMETERS, SIGNAL STATEMENT, USER VARIABLES, DYNAMIC SQL, FUNCTION & PROCEDURE)

- CHAPTER 16: βœ”οΈ
How to create triggers and events
(AFTER/BEFORE TRIGGERS, EVENTS)

πŸ“˜ SECTION 5:

- CHAPTER 17: βœ”οΈ
An introduction to database administration
(STATUS/SYSTEM VARIABLES, GLOBAL/SESSION VARIABLES, LOGS)

- CHAPTER 18: βœ”οΈ
How to secure a database
(USERS, PRIVILEGES, GRANT/REVOKE STATEMENT, ROLES)

- CHAPTER 19: βœ”οΈ
How to backup and restore a database
(EXPORTING DATA TO FILE, LOAD DATA FROM FILE - no exercises done)

About

Solutions for exercises from 'Murach's MySQL'