理解History of Standard SQL

SQL,全称Structured Query Language,是用于管理和处理关系数据库管理系统(RDBMS)数据的特定编程语言。它起源于IBM的System R项目,并由Donald D. Chamberlin和Raymond F. Boyce开发。1970年代末,Oracle公司推出了基于SQL的RDBMS。到1986年,SQL成为ANSI和ISO的官方标准。MySQL是目前广泛使用的开源SQL数据库管理系统,由Oracle公司维护。
  • SQL

    Structured Query Language is a domain-specific language used in programming and designed for managing data held in a relational database management system (RDBMS), or for stream processing in a relational data stream management system (RDSMS).

  • History

    SQL was initially developed at IBM by Donald D. Chamberlin and Raymond F. Boyce after learning about the relational model from Edgar F. Codd in the early 1970s. This version, initially called SEQUEL (Structured English Query Language), was designed to manipulate and retrieve data stored in IBM’s original quasirelational database management system, System R, which a group at IBM San Jose Research Laboratory had developed during the 1970s.

    In the late 1970s, Ralational Software, Inc. (now Oracle Corporation) saw the potential of the concepts described by Codd, Chamberlin, and Boyce, and developed their own SQL-based RDBMS.

    By 1986, ANSI and ISO standard groups offically adopted the standard “Database Language SQL” language definition.

    在这里插入图片描述

    The first computer databases appeared in the late 1960s.

    What Edgar Frank Codd is famous for is an article published in 1970 called: A Relational Model of Data For Large Shared Data Bank, this started the area of relational databases in computer science.

  • MySQL

    Rather than trying to write an SQL for their own databases, many companies use a database management system that has SQL already built in to it.

    Developed and distributed by Oracle, MySQL is one of the most popular SQL database management systems currently avaiable.

  • References

  1. Oracle Help Center: History of SQL
  2. Brief History of SQL and SQL Standards
  3. SQL material
  4. What is SQL?
  5. The History of SQL – How It All Began
  6. The History of SQL Standards
  7. https://learnsql.com/
### 关于谷粒商城 SQL 数据库设计 谷粒商城是一个典型的电商系统,其数据库设计涵盖了多个核心模块,包括商品管理、订单处理、用户信息以及库存控制等。以下是关于谷粒商城 SQL 数据库设计的相关说明: #### 数据库文件获取方式 可以通过以下链接下载谷粒商城的 SQL 文件[^1]: - **GitCode 地址**: [https://gitcode.com/open-source-toolkit/bac29](https://gitcode.com/open-source-toolkit/bac29)[^1] - **Gitee 地址**: [https://gitee.com/lemon_wan/gulimall/tree/dev/sql%E8%84%9A%E6%9C%AC](https://gitee.com/lemon_wan/gulimall/tree/dev/sql%E8%84%9A%E6%9C%AC)[^2] 这些资源提供了完整的 SQL 脚本,能够帮助开发者快速搭建本地环境并理解系统的整体架构。 #### 数据库表结构概述 谷粒商城的数据库表结构设计较为复杂,主要分为以下几个部分[^3]: 1. **用户模块** - `ums_member`: 用户基本信息表。 - `ums_growth_change_history`: 用户成长值变更记录表。 2. **商品模块** - `pms_brand`: 品牌信息表。 - `pms_product`: 商品基础信息表。 - `pms_sku_info`: SKU(Stock Keeping Unit)详情表。 - `pms_spu_info`: SPU(Standard Product Unit)详情表。 3. **订单模块** - `oms_order`: 订单主表。 - `oms_order_item`: 订单项明细表。 - `oms_order_operate_history`: 订单操作历史表。 4. **促销活动模块** - `sms_coupon`: 优惠券信息表。 - `sms_seckill_promotion`: 秒杀活动表。 5. **其他辅助模块** - `sys_user`: 系统管理员账户表。 - `sys_role`: 角色权限表。 #### 如何导入 SQL 文件到 MySQL? 为了方便开发人员测试和部署,可以按照如下方法将 SQL 文件导入到 MySQL 中: ```bash mysql -u root -p gulimall < path/to/gulimall.sql ``` 上述命令会将指定路径下的 SQL 文件加载至名为 `gulimall` 的数据库中。如果目标数据库尚未创建,则需提前执行以下语句: ```sql CREATE DATABASE IF NOT EXISTS gulimall CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; ``` #### 注意事项 在实际应用过程中需要注意以下几点: - 导入前确认 MySQL 版本兼容性。 - 如果遇到编码问题,建议调整客户端连接参数以支持 UTF-8 编码。 ---
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值