📜  SQL 和 SQLite 之间的差异

📅  最后修改于: 2021-09-10 01:48:22             🧑  作者: Mango

1.结构化查询语言(SQL):
SQL 代表结构化查询语言。 SQL 可以访问、创建和管理数据库。 SQL 已成为美国国家标准协会的标准。

2. SQLite:
SQLite 是提供关系数据库管理系统的软件。 SQLite 在设置、数据库管理和所需资源方面是轻量级的。 SQLite 具有自包含、无服务器、零配置等特性。

SQL 和 SQLite 之间的差异:

SQL SQLite
SQL is Structured Query Language used to query Relational Database System. It is written in C language. SQLite is an Relational Database Management System which is written in ANSI-C.
SQL is standard which specifies how relational schema is created, data is inserted or updated in relations, transactions are started and stopped, etc. SQLite is file-based. It is different from other SQL databases because unlike most other SQL databases, SQLite does not have separate server process.
Main components of SQL are Data Definition Language(DDL), Data Manipulation Language(DML), Data Control Language(DCL). SQLite supports many features of SQL and has high performance but does not support stored procedures.
SQL is Structured Query Language which is used with databases like MySQL, Oracle, Microsoft SQL Server, IBM DB2, etc. SQLite is portable database resource. It could get an extension in whatever programming language used to access that database.
A conventional SQL database needs to be running as service like OracleDB to connect to and provide lot of functionalities. SQLite database system does not provide such functionalities.
SQL is query language which is used by other SQL databases. It is not database itself. SQLite is relational database management system itself which uses SQL.