SQLite is a very easy to use database engine included with Python. SQLite is open source and is a great database for smaller projects, hobby projects, or testing and development.
SQLite是Python附帶的非常易于使用的數據庫引擎。 SQLite是開源的,是用于小型項目,業余項目或測試和開發的強大數據庫。
We've released a full video course to help you learn the basics of using SQLite3 with Python. You’ll learn how to create databases and tables, add data, sort data, create reports, pull specific data, and more. The course is taught by John Elder from Codemy.com.
我們已經發布了完整的視頻課程,以幫助您學習將SQLite3與Python結合使用的基礎知識。 您將學習如何創建數據庫和表,添加數據,對數據進行排序,創建報告,提取特定數據等等。 該課程由Codemy.com的John Elder教授。
For this course you should already have a basic knowledge of Python programming, but you don’t need to know anything at all about databases or SQLite.
對于本課程,您應該已經具有Python編程的基本知識,但是您完全不需要了解數據庫或SQLite。
In this course, you will learn:
在本課程中,您將學習:
- what is a database 什么是數據庫
- how to install Python 如何安裝Python
- how to install git bash terminal 如何安裝git bash終端
- how to use sqlite in a Python program 如何在Python程序中使用sqlite
- how to connect to database in Python 如何在Python中連接數據庫
- how to create a database 如何創建數據庫
- how to create a table 如何建立表格
- how to insert one record into table 如何在表中插入一條記錄
- how to insert many records into table 如何在表中插入許多記錄
- understanding data types 了解數據類型
- how to select data from table 如何從表中選擇數據
- how to format your results 如何格式化結果
- how to use the where clause 如何使用where子句
- how to use the like clause and wildcards 如何使用like子句和通配符
- how to use AND and OR 如何使用AND和OR
- how to update records 如何更新記錄
- how to limit and order results 如何限制和訂購結果
- how to delete records 如何刪除記錄
- how to delete (drop) a table and backups 如何刪除(刪除)表和備份
- and more! 和更多!
At the end of the course you will learn how to build a very basic app to help reinforce all the things from the course.
在課程結束時,您將學習如何構建一個非常基本的應用程序,以幫助強化課程中的所有內容。
You can watch the video course below or on the freeCodeCamp.org YouTube channel (1.5 hour watch).
您可以在下面或在freeCodeCamp.org YouTube頻道上觀看視頻課程(觀看1.5小時)。
翻譯自: https://www.freecodecamp.org/news/using-sqlite-databases-with-python/