Question: Execute the provided code. 2. Change the Select statement to use the column name instead of* and execute this code. 3. Take a screen
Execute the provided code. 2. Change the Select statement to use the column name instead of* and execute this code. 3. Take a screen shot of the results. 1 BEGIN TRANSACTION; 2 3 / Create a table called NAMES "/ CREATE TABLE NAMES (Id integer PRIMARY KEY, Name text); 4 5 6 /* Create few records in this table */ 7 INSERT INTO NAMES VALUES (1, 'Tom'); INSERT INTO NAMES VALUES (2, 'Lucy'); INSERT INTO NAMES VALUES (3, 'Frank'); INSERT INTO NAMES VALUES (4, Jane'); 8 9 10 11 INSERT INTO NAMES VALUES (5, 'Robert'); 12 COMMIT; 13 14 / Display all the records from the table */ 15 SELECT * FROM NAMES;
Step by Step Solution
There are 3 Steps involved in it
Solution Python import pandas as pd Create a list of data data 1 Tom 2 Lucy 3 Fr... View full answer
Get step-by-step solutions from verified subject matter experts
