当前位置:网站首页>数据库操作 题目一
数据库操作 题目一
2022-07-26 08:41:00 【wuyunbilige66】
1.创建test数据库
2.在test数据库中创建student表
3.向student表中添加记录
4.使用sql语句查询出表中的所有内容
5.使用sql语句查询出表中所有score>70的同学的id,name,score
6.更改name字段的数据类型为varchar(50)
7.向表中添加一个字段,字段名称为“pingjia”,字段类型为varchar(20)
8.更改姓名是张三的同学的分数为88
9.如果80分为及格线,查询出所有及格的同学的详细信息
10.使用关键字in,查询id值是1或5或7的同学的基本信息
11.查询id值在5至8的所有同学的基本信息
12. 查询姓名是小红并且分数大于60的同学的基本信息
13.查询姓名是小红或者分数大于90的同学的基本信息
边栏推荐
- 基于C#实现的文件管理文件系统
- Number of briquettes & Birthday Candles & building blocks
- 23.5 event listeners of application events and listeners
- P3743 Kotori's equipment
- 1、 Redis data structure
- 正则表达式:判断是否符合USD格式
- Mycat2 sub database and sub table
- Set of pl/sql -2
- Spark SQL common date functions
- Cve-2021-3156 duplicate of sudo heap overflow privilege raising vulnerability
猜你喜欢
SSH,NFS,FTP
Memory management - dynamic partition allocation simulation
【加密周报】加密市场有所回温?寒冬仍未解冻 盘点上周加密市场发生的重大事件
[freeswitch development practice] use SIP client Yate to connect freeswitch for VoIP calls
keepalived双机热备
Solve the problem of C # calling form controls across threads
合工大苍穹战队视觉组培训Day5——机器学习,图像识别项目
Dynamic SQL and exceptions of pl/sql
Spark scheduling analysis
Uni app simple mall production
随机推荐
基于C语言设计的换乘指南打印系统
Spark scheduling analysis
2000年的教训。web3是否=第三次工业革命?
Inaccurate problem of flutter fijkplayer seekto
Mysql8 one master one slave +mycat2 read write separation
[abstract base class inheritance, DOM, event - learning summary]
JDBC数据库连接池(Druid技术)
基于C#实现的文件管理文件系统
Dynamic SQL and exceptions of pl/sql
[freeswitch development practice] user defined module creation and use
keepalived双机热备
Pxe原理和概念
Deploy prometheus+grafana monitoring platform
P1825 [USACO11OPEN]Corn Maze S
idea快捷键 alt实现整列操作
Does flinkcdc now support sqlserver instance name connection?
KV database based on raft consensus protocol
Alphabetic string
[freeswitch development practice] use SIP client Yate to connect freeswitch for VoIP calls
[recommended collection] MySQL 30000 word essence summary index (II) [easy to understand]