当前位置:网站首页>数据库操作 题目一
数据库操作 题目一
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的同学的基本信息

边栏推荐
- Flutter text is left aligned with no blank space in the middle
- Xtrabackup appears' flush no '_ WRITE_ TO_ BINLOG TABLES‘: 1205 (HY000) Lock wait timeout exceeded;
- Oracle 19C OCP 1z0-082 certification examination question bank (7-12)
- 23.8 using the applicationrunner or commandlinerunner to implement applicationrunner and commandlinerunner
- Foundry教程:使用多种方式编写可升级的智能合约(上)
- Flutter upgrade 2.10
- [database] gbase 8A MPP cluster v95 installation and uninstall
- Does flinkcdc now support sqlserver instance name connection?
- Cve-2021-26295 Apache OFBiz deserialization Remote Code Execution Vulnerability recurrence
- The lessons of 2000. Web3 = the third industrial revolution?
猜你喜欢

Deploy prometheus+grafana monitoring platform

【FreeSwitch开发实践】自定义模块创建与使用

Hegong sky team vision training Day6 - traditional vision, image processing

Mycat2 deploy master-slave MariaDB

Solve the problem of C # calling form controls across threads

Mycat2 sub database and sub table

Grid segmentation

Uni app simple mall production

Why reserve a capacitor station on the clock output?

After MySQL 8 OCP (1z0-908), hand in your homework
随机推荐
TypeScript版Snowflake主键生成器
keepalived双机热备
基于C语言设计的换乘指南打印系统
C Entry series (31) -- operator overloading
File management file system based on C #
Deploy prometheus+grafana monitoring platform
node-v下载与应用、ES6模块导入与导出
Maximum common substring & regularity problem
Pan micro e-cology8 foreground SQL injection POC
Oracle 19C OCP certification examination software list
Analysis on the query method and efficiency of Oracle about date type
Oracle 19C OCP 1z0-082 certification examination question bank (42-50)
[encryption weekly] has the encryption market recovered? The cold winter still hasn't thawed out. Take stock of the major events that occurred in the encryption market last week
23.9 application exit application exit
Oracle 19C OCP 1z0-082 certification examination question bank (19-23)
Flutter custom player progress bar
[suggestions collection] summary of MySQL 30000 word essence - locking mechanism and performance tuning (IV) [suggestions collection]
【搜索专题】看完必会的搜索问题之洪水覆盖
pl/sql之集合
03异常处理,状态保持,请求钩子---04大型项目结构与蓝图