Learn SQL with MySQL: Retrieve and Manipulate Data Using SQL Commands with Ease

  • 1h 5m
  • Ashwin Pajankar
  • BPB Publications
  • 2020

This book starts with the concepts in RDBMS (Relational Database Management Systems) and SQL (Structured Query Language). The first few chapters cover the definitions and a brief explanation of all the important concepts. They also cover the installation of MariaDB and MySQL on Windows and Raspberry Pi, as well as the setup of various tools used to connect to MySQL and MariaDB server processes. We will also understand how to install sample schemas and how to use basic SQL queries. Then we move on to the SELECT query in detail. The book explores the data retrieval aspect of SQL queries in detail with the WHERE clause and NULL handling in detail. The book also explores the functions available in MySQL. Those are single row and group functions. Then we explore how to combine the data from multiple sources. The technique is known as Joins, and we will learn ANSI style and the old-style syntax for all the types of Joins.

The last part explores the DDL and DMLs in depth. We also learn the concepts of Transactions and Constraints. The book explores how we can run the SQL queries from a Python 3 program and load a pandas DataFrame with the data from a table in a schema in the MySQL database.

What will you learn

  • Understand the basics of MySQL and MariaDB.
  • Get familiar with MySQL Arithmetic Operators, DDL, DML, DCL & TCL commands.
  • Understand the concept of Single-Row Functions and Group Functions in detail.
  • Retrieve data from multiple sources using the Joins.

Who this book is for

This book is designed for beginners as well as professionals alike. The book will also be useful to Data Scientists, Data Analysts, Database Administrators, and Data Engineers.

About the Author

Ashwin is an experienced veteran who, for the past 25 years, has been working with STEM (Science, Technology, Engineering, and Mathematics). In his career, Ashwin has worked for more than 7 years as an employee for various IT companies and Software Product Companies. He has written more than 2 dozen books on Arduino, Python programming, Computer Vision, IoT, databases, and other popular topics with BPB and other international publications. He has also reviewed many other technical books. He also creates courses for BPB and other platforms and teaches to 60000 students online.

He has been working as a freelancer since 2017. He got his first taste in writing in 2015 when he wrote his first book on Raspberry Pi. In his free time, Ashwin makes videos for his Youtube channel, which has 10000 subscribers now.

Outside work, Ashwin volunteers his spare time as a STEM Ambassador, helping, coaching, and mentoring young people in taking up careers in technology.

Your Blog links: https://www.youtube.com/ashwinpajankar

Your LinkedIn Profile: https://www.linkedin.com/in/ashwinpajankar/

In this Book

  • Introduction and Installation
  • Getting Started with MySQL
  • Getting Started with SQL Queries
  • The WHERE Clause in Detail
  • Single Row Functions
  • Group Functions
  • Joins in MySQL
  • Subqueries
  • DDL, DML, and Transactions
  • Views
  • Python 3, MySQL, and Pandas
SHOW MORE
FREE ACCESS

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE