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

边栏推荐
猜你喜欢

【FreeSwitch开发实践】使用SIP客户端Yate连接FreeSwitch进行VoIP通话

Pxe原理和概念

Foundry教程:使用多种方式编写可升级的智能合约(上)

Using the primitive root of module m to judge and solve

03异常处理,状态保持,请求钩子---04大型项目结构与蓝图

Arbitrum launched the anytrust chain to meet the diverse needs of ecological projects

Leetcode and query question summary

PXE principles and concepts

Mysql8 dual master and dual slave +mycat2 read / write separation

Grid segmentation
随机推荐
Arbitrum Nova release! Create a low-cost and high-speed dedicated chain in the game social field
Leetcode and query question summary
23.2 customizing the banner control display hidden banner modify banner
CIS 2020 - alternative skills against cloud WAF (pyn3rd)
node-v下载与应用、ES6模块导入与导出
Oracle 19C OCP 1z0-083 question bank (1-6)
【数据库 】GBase 8a MPP Cluster V95 安装和卸载
The data read by Flink Oracle CDC is always null. Do you know
Recurrence of SQL injection vulnerability in the foreground of a 60 terminal security management system
Solve the problem of C # calling form controls across threads
Regular expression: judge whether it conforms to USD format
Ueditot_ JSP SSRF vulnerability recurrence
Mycat2 deploy master-slave MariaDB
Oracle 19C OCP 1z0-082 certification examination question bank (42-50)
idea快捷键 alt实现整列操作
P1825 [USACO11OPEN]Corn Maze S
Oracle 19C OCP 1z0-082 certification examination question bank (24-29)
Transfer guide printing system based on C language design
Mysql/mariadb (Galera multi master mode) cluster construction
day06 作业---技能题7