Discover millions of ebooks, audiobooks, and so much more with a free trial

From $11.99/month after trial. Cancel anytime.

Learn SQL using MySQL in One Day and Learn It Well: SQL for beginners with Hands-on Project
Learn SQL using MySQL in One Day and Learn It Well: SQL for beginners with Hands-on Project
Learn SQL using MySQL in One Day and Learn It Well: SQL for beginners with Hands-on Project
Ebook192 pages1 hour

Learn SQL using MySQL in One Day and Learn It Well: SQL for beginners with Hands-on Project

Rating: 0 out of 5 stars

()

Read preview
LanguageEnglish
Release dateApr 26, 2024
ISBN9781836205661
Learn SQL using MySQL in One Day and Learn It Well: SQL for beginners with Hands-on Project

Related to Learn SQL using MySQL in One Day and Learn It Well

Related ebooks

Databases For You

View More

Reviews for Learn SQL using MySQL in One Day and Learn It Well

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Learn SQL using MySQL in One Day and Learn It Well - Jamie Chan

    Chapter 1: Introduction

    Welcome to SQL and thank you so much for picking up my book. I sincerely hope that this book can help you master SQL fast and introduce you to the exciting world of databases.

    This book adopts a hands-on approach to learning. As we progress from one chapter to another, we’ll be doing various exercises. You are strongly encouraged to follow along these exercises.

    At the end of the book, we’ll also be working on a new project together. This project involves building a SQL database for a sports complex. We’ll learn to build the database, insert data, perform queries, write routines, views, cursors, and more.

    Excited and ready to start embarking on our SQL learning journey? Let’s do it!

    What is SQL?

    Simply stated, SQL stands for Structured Query Language and is a language used to manage data stored in a relational database.

    This brings us to the next question - What is a database?

    A database is a collection of data organized in some format so that the data can be easily accessed, managed and updated. The predominant type of database is a relational database. Relational databases organize data in the form of tables. In addition, they contain queries, views and other elements to help us interact with the data.

    In order to manage our database, we need to use a software application known as a database management system (DBMS).

    Clear?

    So far, we have the following terminologies:

    1) SQL is a language

    2) A database is a structured collection of data

    3) A DBMS is a software that we use to manage our databases

    With regards to DBMS, there are a large number of them available. Some are free to download and use while others are not. The most commonly used DBMS include MySQL, Oracle, Microsoft SQL Server and IBM DB2.

    Each of these DBMS have their own versions of SQL. While this may sound intimidating, rest assured that all DBMS support the major SQL commands (such as SELECT, UPDATE, DELETE, INSERT) in a similar manner. Hence, if you know one version of SQL, it is very easy to pick up other versions.

    In this book, we'll be using MySQL. This is one of the most popular DBMS available. Best of all, it’s free! From this point forward, whenever I mention SQL, I’m referring to the MySQL version.

    Getting Ready to Code

    In order to start using MySQL, we need to first download and install two applications: MySQL Server and My SQL Workbench.

    Note that the instructions provided below are accurate as of March 2024. MySQL may update its download links or alter installation procedures in the future. In such cases, you can typically find the most up-to-date installation guides on YouTube by searching for terms like Installing MySQL on Windows or Installing MySQL on Mac and selecting the latest video with the highest number of views.

    For the time being, let's proceed with installing the latest version of MySQL.

    Installing MySQL applications

    Windows

    For Windows users, go to https://dev.mysql.com/downloads/installer/.

    Scroll down and click on the second Download button to download the application. You’ll be directed to another page. Scroll to the bottom of the page and click on No thanks, just start my download.

    Once you have downloaded the program, double-click on the file and follow the instructions to install the software. When prompted for administrative permissions, click Yes to grant the necessary permissions.

    Next, you will be prompted to choose a setup type, select Custom and click Next.

    You’ll be asked to select the products to

    Enjoying the preview?
    Page 1 of 1
    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy