SQL Essentials
SQL Essentials
$4.99
Minimum price
$4.99
Suggested price
SQL Essentials

Last updated on 2020-09-23

About the Book

RDBMS, or Relational Database Management Systems are the most popular systems today in managing large databases. Most of the data management applications are backed up by an RDBMS like MySQL, or Postgres, or Oracle, or SQL Server or other. For that reason, it is very important to learn SQL, Structured Query Language, the language that is used to retrieve and manipulate data that are stored inside a relational database. MySQL is going to be the RDBMS that we will install and use for learning. MySQL is very popular in many production systems. So, learning to work with MySQL will give you a very good asset as a Web developer.

About the Author

Panos Matsinopoulos
Panos Matsinopoulos

I love developing programs, both for Web browsers and for mobile apps. I have been doing that for the last 25 years and I have developed numerous applications. My other love is teaching programming, how to design and develop programs. If you want to learn more about me, you can visit my LinkedIn profile.

Table of Contents

  • Credits To Photo on Cover Page
  • About and Copyright Notice
    • 1 - Introduction to RDBMS
      • Summary
      • Learning Goals
      • Introduction
      • RDBMS Server
      • Client - Server Model
      • SQL
      • Data Modeling
      • Like sheets on EXCEL or Google spreadsheets
      • Tables and Business Entities
      • Database Design
      • MySQL
      • Tasks and Quizzes
    • 2 - Manage MySQL Server
      • Summary
      • Learning Goals
      • Introduction
      • MySQL Installation
      • Verifying MySQL Running as Server
      • Starting and Stopping MySQL server
      • Communicating With MySQL Server
      • MySQL Settings
      • Closing Notes
      • Tasks and Quizzes
    • 3 - Basic SQL Commands
      • Summary
      • Learning Goals
      • Introduction
      • Create the database
      • Select Database To Work With
      • Creating Tables
      • Inserting Data Into a Table
      • Selecting Rows from Table
      • Limiting the Rows Returned Using Criteria - where Clause
      • Counting number of Entries
      • Deleting Rows from Tables
      • Updating Rows on a Table
      • like operator
      • Closing Note
      • Tasks and Quizzes
    • 4 - Adding Columns And Indexes
      • Summary
      • Learning Goals
      • Introduction
      • Adding a New Column
      • Indexes
      • Creating an Index
      • Removing an index
      • Unique Indexes
      • Closing Note
      • Tasks and Quizzes
    • 5 - Counting And Sorting Records - Limiting Results
      • Summary
      • Learning Goals
      • Introduction
      • Creating Table products
      • Unique Name
      • Inserting a Product
      • Counting
      • Sorting - Ordering Results
      • Limiting Number Of Records Returned
      • Combining where, order by and limit
      • Closing Note
      • Tasks and Quizzes
    • 6 - Foreign Keys
      • Summary
      • Learning Goals
      • Introduction
      • Model Details
      • Implementation
      • Create orders table
      • Inserting Orders
      • Inserting Wrong Data
      • Unique order number
      • Inserting Wrong Customer Id
      • Try to Insert Bad Data Again
      • Creating order_items table
      • Referential Integrity between orders and order_items
      • Referential Integrity between products and order_items
      • Inserting Data Into The Details
      • Unique Index On Multiple Columns
      • Closing Note
      • Valentina Studio
      • Tasks and Quizzes
    • 7 - Joins, Left Joins And Subqueries
      • Summary
      • Learning Goals
      • Introduction
      • Review Database Schema
      • Retrieving Data
      • Deleting Existing Data
      • Inserting Necessary Data
      • Selecting All the Information - join or inner join
      • More Complex Queries
      • Closing Note
      • Tasks and Quizzes

Causes Supported

Code Club

https://www.codeclub.org.uk

A nationwide network of volunteer-led after school coding clubs for children aged 9-11.

We create projects for our volunteers to teach at after school coding clubs or at non-school venues such as libraries. The projects we make teach children how to program by showing them how to make computer games, animations and websites. Our volunteers go to their local club for an hour a week and teach one project a week. Each term the students will progress and learn more whilst at the same time using their imaginations and making creative projects. Terms 1 & 2 use Scratch to teach the basics of programming. Term 3 teaches the basics of web development using HTML and CSS. Term 4 teaches Python and so on. We’d like to put a Code Club in every single primary school in the country. There are over 21,000 primary schools in the UK, it’s a big task but we think we can do it!

Authors have earned$9,522,187writing, publishing and selling on Leanpub,
earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub