Question: postgreSQL - PART 1 : Creating a table using the following attributes: sale _ date,sale _ year,sale _ month,age,gender,country,state,category,sub _ category,quantity,unit _ cost , unit

postgreSQL - PART 1: Creating a table using the following attributes: sale_date,sale_year,sale_month,age,gender,country,state,category,sub_category,quantity,unit_cost,unit_price,cost,revenue: Please use the following instructions: PART 1 Creating the Table and Importing the Data
1. Create the table with appropriate data types
a. Name the table customer_spending
b. Reuse the column titles from the csv, do not change these
c. When selecting data types for your tables, ensure they accommodate the full
range of values and avoid truncating any values. Ensure that decimals, lengths,
and other specifications are sufficient for all data to be imported completely.
i. You must declare precision and scale when applicable.
ii. Go bigger if needed- you will not lose points for adding extra space but
you will lose points if your data types do not accommodate all values.
iii. Do not use double precision as a data type in this assignment.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!