Ask coding questions

← Back to all posts
I am learning how to use database
Flyingcrabs (7)

I was following a tutorial here is the link https://www.tutorialspoint.com/sqlite/sqlite_python.htm So can anyone help me with this error. (note: I think this is a older version of python)

Answered by OmN3xin (50) [earned 5 cycles]
View Answer
Comments
hotnewtop
OmN3xin (50)

you could just use replit's database, its a lot easier to work with. on your sidebar, click on the cylinder with lines on it and click on the different options.

Flyingcrabs (7)

Ummm.... how do i use it? @OmN3xin

OmN3xin (50)

@OmN3xin then listen to the instructions in there

OmN3xin (50)

@Flyingcrabs import the database, create a database, then you can create key and/or lists.

Flyingcrabs (7)

um how do i create one @OmN3xin

OmN3xin (50)

@Flyingcrabs oh sorry, you cannot create lists yet, if you mean the database then that is created with you import it.

SixBeeps (5047)

There's already a table named COMPANY in the db file, yet you're trying to create a new one with the same name. Did you mean to start a new table with the same name?

Flyingcrabs (7)

so what should i change sorry i am completely new to it
@SixBeeps