This repository contains SQL scripts to set up the SleekData Order Management System (OMS) database in Snowflake.
Creates the SLEEKMART_OMS database, the L1_LANDING schema, and all required tables.
Inserts records into the CUSTOMERS table.
Inserts records into the DATES table.
Inserts records into the EMPLOYEES table.
Inserts records into the PRODUCTS table.
Inserts records into the SUPPLIERS table.
Inserts records into the STORES table.
Inserts records into the ORDERITEMS table.
Inserts records into the ORDERS table.
Creates the sales_us, sales_uk, and sales_india tables in the TRAINING schema and loads data into all three tables.
- Run
01_INITIALISE.sqlto create the database and schema. - Run
02_CUSTOMERS.sqlto09_ORDERS.sqlto populate each table with sample data. - Run
10_TRAINING.sqlto create and populate data into theTRAININGschema.
-- This file was created by SleekData (https://www.youtube.com/@sleekdata)
-- You may use it for personal, educational purposes only.
-- Unauthorized commercial use of this file or its data, including use in other YouTube videos, is prohibited.