Skip to main content
First, let’s create a warehouse, database, and schema. Paste the following SQL into the Editor of the Snowflake worksheet and click Run.
We’re going to create four tables in the ecom schema and seed them with data from S3. First, let’s create line_items table. Delete the previous SQL in your Editor and then run the following command.
Clear all the content in the Editor and run the following command to load data into the line_items table.
Now, we’re going to repeat these steps for three other tables. Run the following command to create the orders table.
Run the following command to load data into the orders table from S3.
Run the following command to create the users table.
Run the following command to load data into the users table.
Run the following command to create the products table.
Run the following command to load data into the products table.