
Learn how python uses sqlite3 to create and open a single-file database via the connect function, and run the script on macOS, Linux, or Windows.
Create SQLite tables with Python, defining columns and data types, including a primary key. Insert data using SQL queries and commit changes, and manage or reset the database file.
Learn to open an SQLite database with Score Browser, browse data, view and edit tables, create new tables, run SQL queries, and interact with data alongside Python.
Learn to retrieve data from a SQLite table using the select query, with all columns or specific ones like idea and name. Understand why selecting columns matters for large tables.
Learn to delete data from the users table in SQLite databases using the execute function, specify conditions (id, greater than, or less than), and back up before permanent deletion.
Learn to update data in an SQLite table using the execute function, targeting rows by their unique id and setting a column value, such as the name to Python.
Create an SQLite browser database named office.db, add an employees table with an auto-incrementing primary key, text names, and a real salary, and add a managers table.
Connect to the office sqlite database securely, view the employees and managers tables, and convert each table to Python lists for easy data interaction and iteration.
In this course you will learn interacting with SQLite3 databases. It makes it easy to access sqlite databases from python code. Manipulate and analyze your data using Python.
While you can store your data in files, this quickly becomes impractical. A file can only be opened and written once, not by millions of people at the same time. If you want to make any kind of data-driven application you need to use a database system.
SQLite is a great little database. basically, it is a low-overhead, cross-platform, self-contained, zero-configuration, transactional SQL database engine. It's great when you want to move beyond files on the disk and start working with databases.
The best part is that it has bindings in lots of languages. In python, those bindings are in Python Package Index (pypi) as python-sqlite3 package.
The course teaches you how to setup a database and basic SQL with Python. Once you know how to work with SQLite, you can transfer that knowledge to working with other database systems like MySQL or Postgres.You will learn how to insert, retrieve, update and delete data amongst other things.
If you are a Python beginner and want to work with databases, this course is for you.