• Post category:StudyBullet-17
  • Reading time:10 mins read

MySQL creating and managing relational databases
A flash course on managing and processing data in relational databases using MySQL with many exercises

What you will learn

MySQL

SQL

databases

relational databases

CRUD

creating databases in MySQL

managing databases

loading data from files

saving data to files

joining tables

managing tables with multilevel relations

Description

The course is designed for people who have not had contact with the SQL language yet, but want to learn how to work with relational databases. In the course, we discuss all the necessary issues, work with examples and exercises, starting from the basics: what is SQL and how to install and run a local MySQL server on your home computer, how to use SQL itself from both the console and MySQL Workbench. Then we discuss the topic of CRUD: Create, Read, Update, Delete where we discuss all these activities in detail. The next stage will be text and aggregate functions where you will learn to modify the results of database queries. Next, an important step will be learning how to create queries with a logic layer and calling the appropriate conditions that will make the query result dependent on their fulfillment. Finally, we discuss the topic of relations – their types, how to create and invoke, handle them or activate events with triggers. At the end of the course, we will work on the data set in several tables connected by relations. In each section you will also find additional exercises that will allow you to check your knowledge and skills as well as notes summarizing the issues discussed.


Get Instant Notification of New Courses on our Telegram channel.


English
language

Content

1. Preparation of the environment

1.1. Use this setting when needed
1.1. SQL Language
1.1. Note at the beginning
1.2. Installation note
1.2. MySQL Workbench Installation
1.3. MySQL Console and Workbench navigation, creating and deleting databases
1.3. Notes
1.3. Excesises #1 – #4 *
1.3. Solutions #1 – #4

2. CRUD – Basics

2.1. Types of data
2.2. Defining tables and inserting values
2.2. Notes
2.2. Exercises #5, #6 *
2.2. Solutions #5, #6
2.3. Advanced variables
2.3. Notes
2.3. Exercise #7 *
2.3. Solution #7
2.4. Data display (part.1 – selected range)
2.4. Notes
2.5. Data display (part.2 – limiting and selecting)
2.5. Notes
2.5. Exercises #8 – #11 *
2.5. Solutions #8 – #11
2.6. Aliases
2.6. Notes
2.6. Exercise #12 *
2.6. Solution #12
2.7. Code to copy
2.7. Updating data and removing it
2.7. Notes
2.7. Exercise #13 *
2.7. Solution #13
2.8. Windows support for UTF-8
2.8. Loading data from files
2.8. Notes
2.8. Exercise #14 **
2.8. Solution #14
2.8. Small note for further materials
2.9. Accessing any location on the computer
2.9. Saving data to files
2.9. Notes
2.9. Exercise #15 **
2.9. Solution #15

3. Text functions

3. Text functions
3.1. Combining text
3.1. Notes
3.2. Selecting parts of the text
3.2. Notes
3.2. Exercise #16 **
3.2. Solution #16
3.3. Replacing text
3.3. Notes
3.3. Exercise #17 *
3.3. Solution #17
3.4. Inverting, number and size of characters, unique values, breaking the text
3.4. Notes
3.4. Exercise #18 *
3.4. Solution #18
3.5. Ordering
3.5. Notes
3.5. Exercise #19 *
3.5. Solution #19
3.6. Search for text
3.6. Notes
3.6. Exercises #20 – #22 **
3.6. Solutions #20 – #22

4. Aggregative functions

4. Aggregative functions
4.1. Note on naming
4.1. Counting
4.1. Notes
4.1. Exercises #23, #24 *
4.1. Solutions #23, #24
4.2. Grouping
4.2. Notes
4.2. Exercise #25 *
4.2. Solution #25
4.3. Descriptive statistics
4.3. Notes
4.3. Exercises #26 – #28 **+
4.3. Solutions #26 – #28

5. Dates

5.1. Storing and using dates
5.1. Notes
5.1. DateFormat – list of markers
5.2. Operations on dates
5.2. Notes

6. Logic

6. Logic
6.1. Logical operators
6.1. Notes
6.1. Exercises #29 – #35 **+
6.1. Solutions #29 – #35
6.1. Exercise #36 ****
6.1. Solution #36
6.2. Transformations and choices lists
6.2. Notes
6.2. Exercise #37 **
6.2. Solution #37
6.3. Conditions
6.3. Notes
6.3. Exercise #38 ***
6.3. Solution #38

7. Relations

7. Relations
7.1. Relational tables
7.1. Notes
7.2. Reference to other tables
7.2. Notes
7.3. Multiple tables queries
7.3. Notes
7.3. Exercise #39 ***
7.3. Solution #39
7.4. Code to copy
7.4. Types of joins – theory (Join part.1)
7.4. Notes
7.4. Exercise #40 *
7.4. Solution #40
7.4. A note on naming
7.5. Deleting entries from tables with references
7.5. Notes
7.6. Joining two tables (Join part.2)
7.6. Notes
7.6. Exercises #41 – #44 **
7.6. Solutions #41 – #44
7.7. Joining more than two tables (Join part.3)
7.7. Notes
7.7. Exercise #45 *****
7.7. Solution #45
7.7. Exercises #46 – #51 ****
7.7. Solutions #46 – #51
7.8. Triggers
7.8. Notes

8. Next steps

8. Next steps
8.1. Continue learning