SQL - Excel Connections

 

    Sqlite3 to Python file connection

     

     

  • Sqlite3 is a package which enables the python to connect the database
  •  

     

    Cursor Object

     

  • Cursor is a object, which enables the application to execute the program
  •  

     

    COMMIT method

     

  • Commit enables to save the transaction
  • After committing the transaction roll back is not possible
  • If we didn't commit, application doesn't save the transaction
  •  

     

     

    fetchall method

     

     

    Output from sql database to list

     

  • Once we connected and records retrieved from database, all the records will store in a list
  •  

  • Each row of result set stores in a single TUPLE
  •  

     

     

    Retrieve all records - Excel to sql database connection

     

     

  • Click on image to view the video
  • This video consists of 6 video series, in youtube
  •  

     

     

     

    Retrieve particular columns

     

     

     

     

    Where clause

     

     

     

     

    Compuration of Total Cost

     

     

     

    Consolidation of SQL Queries