Skip to content

Mueem-Nahid/revisiting-sql

Repository files navigation

Revisiting SQL

Welcome to the "Revisiting SQL" repository! This repository contains SQL queries, indexing techniques, stored procedures, functions, triggers, and Python scripts to insert large amounts of data into a database using bulk insert and multithreading.

Table of Contents

Getting Started

Prerequisites

Before using the scripts and SQL queries in this repository, make sure you have the following prerequisites:

Setup

  • Clone the repository
  • Enter the directory and create virtual env and activate
  • Run pip install -r requirements.txt
  • Setup the .env file Now you can run the pyhton scripts.

SQL

Basic to Advanced Queries

This section contains a collection of SQL queries ranging from basic to advanced. You can find examples of various SQL operations and techniques.

Indexing

Learn about indexing in SQL, how it works, and its importance for optimizing query performance.

Stored Procedures and Functions

Explore the use of stored procedures and functions in SQL to encapsulate and reuse code for common tasks.

Triggers

Discover how triggers can be used in SQL to automatically respond to database events.

Useful resources

Python Scripts

Bulk Data Insertion

Use Python scripts to insert a large amount of data into your database using bulk insert techniques. This can be helpful for efficient data migration or testing.

Multithreading

Learn how to use multithreading in Python to insert data concurrently and improve data insertion performance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published