M
M
Mikhail Mikhail2022-02-17 22:21:27
SQLite
Mikhail Mikhail, 2022-02-17 22:21:27

Is it possible to build a query like INSERT INTO WHERE name == John in SQLite?

Is it possible to build a query like INSERT INTO WHERE name == John in SQLite?

sqlite_insert_with_param = """INSERT INTO users
(name WHERE salary == 123)
VALUES (?);"""

data_tuple = (price)
cursor.execute(sqlite_insert_with_param, data_tuple)
sqlite_connection.commit()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2022-02-17
@latty337

read about UPDATE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question