当前位置:网站首页>MySQL数据库 实验报告(一)
MySQL数据库 实验报告(一)
2022-06-27 19:53:00 【喵喵喵更多】
实验报告(一)
1、实验目的
(1)掌握系统数据类型的特点和功能
(2)掌握创建、修改表结构的方法
(3)掌握数据添加的方法
2、实验预习与准备
(1)MYSQL中创建数据库的命令
(2)表结构的创建、修改和删除
(3)MYSQL导入导出表数据的方式
(4)添加数据的SQL命令
3、实验内容及步骤
(1)利用SQL命令创建名为“jwgl”+“自己学号”的数据库
(2)使用命令行方式利用SQL语句在第一步创建的数据库中按下列要求创建数据表
a)创建如下表所示的student表(学生表)
列名 类型 是否允许为空 字段说明
sno char(10) not null 学号
sname char(10) not null 姓名
sex enum(‘男’,‘女’) not null 性别
birth date not null 出生日期
source varchar(16) null 生源地
clno char(10) null 班级号
phone char(11) null 电话
credit smallint null 学分
picture varchar(30) null 照片(存放地址)
remark text null 字段说明
pwd char(6) not null 密码
边栏推荐
- Test birds with an annual salary of 50w+ are using this: JMeter script development -- extension function
- Learn to go concurrent programming in 7 days go language sync Application and implementation of cond
- The problem of minimum modification cost in two-dimensional array [conversion question + shortest path] (dijkstra+01bfs)
- Acwing week 57 longest continuous subsequence - (binary or tree array)
- Gao fushuai in the unit testing industry, pytest framework, hands-on teaching, will do this in the future test reports~
- 结构化机器学习项目(一)- 机器学习策略
- Educational Codeforces Round 108 (Rated for Div. 2)
- Read write separation master-slave replication of MySQL
- CUDA error:out of memory caused by insufficient video memory of 6G graphics card
- Day8 - cloud information project introduction and creation
猜你喜欢
![\w和[A-Za-z0-9_],\d和[0-9]等价吗?](/img/96/2649c9cf95b06887b57fd8af2d41c2.png)
\w和[A-Za-z0-9_],\d和[0-9]等价吗?

Go from introduction to practice - error mechanism (note)

It smells good. Since I used Charles, Fiddler has been completely uninstalled by me

Deep learning has a new pit! The University of Sydney proposed a new cross modal task, using text to guide image matting

Management system itclub (medium)

百万年薪独家专访,开发人员不修复bug怎么办?

爬虫笔记(2)- 解析

Infiltration learning - problems encountered during SQL injection - explanation of sort=left (version(), 1) - understanding of order by followed by string

Crawler notes (3) -selenium and requests

BAT测试专家对web测试和APP测试的总结
随机推荐
使用Fiddler模拟弱网测试(2G/3G)
《7天學會Go並發編程》第7天 go語言並發編程Atomic原子實戰操作含ABA問題
Flask application case
关于davwa的SQL注入时报错:Illegal mix of collations for operation ‘UNION‘原因剖析与验证
CDH集群之YARN性能调优
Experience sharing of meituan 20K Software Test Engineers
Is it safe to open a stock account through the account opening link given by the CICC securities manager? I want to open an account
Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing
Infiltration learning - problems encountered during SQL injection - explanation of sort=left (version(), 1) - understanding of order by followed by string
Dialogue with Qiao Xinyu: the user is the product manager of Wei brand, and zero anxiety defines luxury
使用sqlite3语句后出现省略号 ... 的解决方法
How to participate in openharmony code contribution
Structured machine learning project (II) - machine learning strategy (2)
The karsonzhang/fastadmin addons provided by the system reports an error
Codeforces Round #723 (Div. 2)
PCIe knowledge point -008: structure of PCIe switch
《7天学会Go并发编程》第六天 go语言Sync.cond的应用和实现 go实现多线程联合执行
同花顺炒股软件可靠吗??安全嘛?
This set of steps for performance testing using JMeter includes two salary increases and one promotion
Fill in the blank of rich text test