Table of Contents

1 Preface and Legal Notices
2 Introduction
3 History
4 Installation
5 Structure     
6 Usage Examples
7 Acknowledgments
8 License for the Sakila Sample Database
9 Note for Authors
10 Sakila Change History     
https://dev.mysql.com/doc/index-other.html页面下载sakila-db.tar.gz

上传至服务器,解压

# tar -xvf sakila-db.tar.gz
sakila-db/
sakila-db/sakila-data.sql
sakila-db/sakila-schema.sql
sakila-db/sakila.mwb

The sakila-schema.sql file contains all the CREATE statements required to create the structure of the Sakila database including tables, views, stored procedures, and triggers.

The sakila-data.sql file contains the INSERT statements required to populate the structure created by the sakila-schema.sql file, along with definitions for triggers that must be created after the initial data load.

The sakila.mwb file is a MySQL Workbench data model that you can open within MySQL Workbench to examine the database structure. For more information, see MySQL Workbench.

(dba_user@localhost) [(none)]> source /soft/sakila-db/sakila-schema.sql

(dba_user@localhost) [sakila]> source /soft/sakila-db/sakila-data.sql

5.1 Tables

5.2 Views

5.3 Stored Procedures

5.4 Stored Functions

5.5 Triggers

https://dev.mysql.com/doc/sakila/en/

最新文章

  1. (转)C# XMPP客户端与openfire通信(Matrix Xmpp 授权破解教程)
  2. 【转】php中XML、XSLT的结合运用
  3. App开发流程之右滑返回手势功能续
  4. BizTalk开发系列(二十二) 开发自定义Map Functoid
  5. 编程中i++与++i的区别
  6. bzoj 2440: [中山市选2011]完全平方数
  7. Android Handler之Message传递参数
  8. librtmp推流使用aac编码音频的html5和flash播放问题
  9. 【二进制】FZU 2062 Suneast & Yayamao
  10. Apache Ant在Windows下配置环境变量
  11. if简单的写法之范围
  12. Parallel Python——一个简单的分布式计算系统
  13. java_log4j 经典配置
  14. 【开源.NET】轻量级内容管理框架Grissom.CMS(第三篇解析配置文件和数据以转换成 sql)
  15. JXLS 2.4.0系列教程(二)——循环导出一个链表的数据
  16. linux基本格式和常用目录命令一
  17. sass和scss的区别
  18. mySQL InnoDB 的性能问题讨论
  19. linux的系统调优
  20. Python3.5+SQL+Prometheus+Grafana报表/监控

热门文章

  1. BZOJ1856[Scoi2010]字符串——组合数学+容斥
  2. 高效使用Linux快捷键
  3. 使用spring profile实现多环境切换
  4. 更换镜像加快python pip 安装扩展库的速度
  5. 解决跨操作系统平台JSON中文乱码问题
  6. CPU | 物理 CPU vs 逻辑 CPU vs 核心 vs 线程 vs Socket
  7. 一个hin秀的小学三年级奥数题 [hin秀]
  8. redis修改持久化路径、日志路径、清缓存
  9. Mysql常见索引介绍
  10. 实例解析Python设计模式编程之桥接模式的运用