Welcome to TDBSoverflow, Our class's own StackOverflow. Our rules:
  1. Use only meaningful and self-explanatory titles
  2. Tag your questions with meaningful keywords
  3. Use upvotes and downvotes to rate the answers
  4. When you receive a satisfying answer - Click the "V" button
Remember: you may get up to 5 bonus points to your final grade!

Submission - CREATE-DB-SCRIPT.sql

+3 votes
71 views
hi,

We used a Python script to construct our DB using the data we pulled through the API, and this script includes all the sql code to create the tables and populate them. Is it ok to submit this script instead of a '.sql' file?

Thanks,

Ayal
asked Jan 19, 2018 by ayal (310 points)

1 Answer

+2 votes
 
Best answer

In the project instructions they explicitly asked for a SQL file for the creation of the DB:

You will submit your source code and your SQL file that creates the DB as well as the documentations ...

Just extract the CREATE queries from your python code to a separate SQL file and leave the INSERT queries as is.

answered Jan 19, 2018 by babygirl55 (10,420 points)
selected Jan 20, 2018 by ayal
...