X
X
xxxfdd2020-11-27 15:36:44
Python
xxxfdd, 2020-11-27 15:36:44

Why are my columns not populating in sqllite studio?

Columns are not filled, just nothing happens.
Here is the source code:

cursor.execute("""
INSERT INTO
  users (title, age, gender, nationality)
VALUES
  ('James', 25, 'male', 'USA'),
  ('Leila', 32, 'female', 'France'),
  ('Brigitte', 35, 'female', 'England'),
  ('Mike', 40, 'male', 'Denmark'),
  ('Elizabeth', 21, 'female', 'Canada');
""")

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2020-11-27
@xxxfdd

Do
.commit()
you execute the command after this operation?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question