Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The sql code should look something like this, per the table below, but I get an error from sqllite something wrong near ';' and

The sql code should look something like this, per the table below, but I get an error from sqllite "something wrong near ';' " and I dont know why. 

CREATE TABLE stagingTable (
   yearInt INT(4),monthInt INT(2),state CHAR(2),country CHAR(2),region VARCHAR(25),customer_id INT(5),Product_Name VARCHAR(25),unitPrice INT(5),
quantityDiscount INT(5),quantity INT(6),orderTotal INT(6);




image

staging Table Column yearlnt INT(4) monthint INT(2) state CHAR(2) country CHAR(3) region VARCHAR(25) customer_id INT(5) Product Name VARCHAR(25) unitPrice INT(5) quantityDiscount INT(5) quantity INT(6) order Total INT(6) >

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Management

Authors: Ricky Griffin

10th Edition

0357517342, 978-0357517345

More Books

Students also viewed these Databases questions