English

Write the command to populate the record in a table. Give an example.

Advertisements

Question

Write the command to populate the record in a table. Give an example.

Short/Brief Note
Advertisements

Solution

To populate (add record) the table “INSERT” command is passed to SQLite. “execute” method executes the SQL command to perform some action. In most cases, you will not literally insert data into a SQL table. You will rather have a lot of data inside of some Python data type e.g. a dictionary or a list, which has to be used as the input of the insert statement.

shaalaa.com
Creating a Database Using SQLite
  Is there an error in this question or solution?
Chapter 15: Data manipulation through SQL - Evaluation [Page 318]
Advertisements
Share
Notifications



      Forgot password?
Use app×