Trying to create a create a table in SQL based on user input for example:
City= input(blah blah) C.execute(CREATE TABLE IF NOT EXISTS ????? )
Creating Tables in SQL
|
Trying to create a create a table in SQL based on user input for example:
City= input(blah blah) C.execute(CREATE TABLE IF NOT EXISTS ????? )
Jun-22-2019, 07:36 PM
Hi,
your code won't work. Line 1 will give a NameError and assuming the code would move to line 2, it gives a NameError as well. In case you need help, it may be an extremely good idea to describe your problem with more than one sentence and show at least Python code which does not contain super obvious errors. If you have no motivation to achieve something, why we should put any efforts in helping you to solve your problem? Regards, noisefloor
Jun-22-2019, 08:13 PM
Not to mention that this is a super standard problem and that complete solutions can easily be found on the web.
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
I need help creating tables with Sqlite3 | Rius2 | 3 | 6,252 |
Sep-28-2017, 05:49 AM Last Post: Rius2 |