Skip to content

galenwilkerson/SQL_Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

SQL Tutorial: Main Functionalities

Welcome to the SQL Tutorial repository! This project provides a comprehensive introduction to SQL's main functionalities using a Jupyter notebook. It's designed to help beginners and intermediate users understand and practice fundamental SQL operations in a hands-on manner.

Overview

This tutorial covers essential SQL functionalities, including creating and managing tables, inserting data, querying data, updating and deleting records, and performing advanced queries. It uses SQLite, a lightweight and serverless database, making it easy to set up and run the examples directly within the Jupyter notebook.

Features

  • Creating and Managing Tables: Learn how to create, modify, and drop tables.
  • Inserting Data: Understand how to insert single and multiple rows into a table.
  • Querying Data: Master basic and advanced select queries to retrieve data.
  • Updating Data: Discover how to update specific rows in a table.
  • Deleting Data: Explore how to delete specific rows and truncate tables.
  • Advanced Queries: Practice using joins, group by, and having clauses.
  • Views: Learn how to create, query, and drop views.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/galenwilkerson/SQL_Tutorial.git
    cd SQL_Tutorial
  2. Install the required Python packages:

    pip install pandas sqlite3

Running the Tutorial

  1. Open the Jupyter Notebook:

    jupyter notebook
  2. Navigate to the sql_tutorial.ipynb file and open it.

  3. Follow the instructions in the notebook:

    • The notebook is organized into sections that cover different SQL functionalities.
    • Each section includes explanations and code cells that you can run to see SQL in action.
    • Experiment with the code cells by modifying and running them to deepen your understanding.

Contributing

Contributions are welcome! If you have any improvements or suggestions, please feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • This tutorial uses SQLite, a powerful and lightweight database engine.
  • Special thanks to the open-source community for providing the tools and resources that make projects like this possible.

Contact

If you have any questions or feedback, please feel free to reach out to me at youremail@example.com.

About

Tutorial of basic SQL commands, using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published