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

边栏推荐
- P1825 [USACO11OPEN]Corn Maze S
- Oracle 19C OCP 1z0-082 certification examination question bank (19-23)
- [recommended collection] MySQL 30000 word essence summary + 100 interview questions (I)
- Pxe原理和概念
- 有限元学习知识点备案
- 六、品达通用权限系统__pd-tools-log
- Mysql8 dual master and dual slave +mycat2 read / write separation
- C Entry series (31) -- operator overloading
- What are the differences in the performance of different usages such as count (*), count (primary key ID), count (field) and count (1)? That's more efficient
- [database] gbase 8A MPP cluster v95 installation and uninstall
猜你喜欢

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

Kotlin属性与字段

利用模m的原根存在性判断以及求解

node-v下载与应用、ES6模块导入与导出

Memory management based on C language - Simulation of dynamic partition allocation

基于C语言的哈夫曼转化软件

Excel find duplicate lines

Web概述和B/S架构

Set of pl/sql

One click deployment of lamp and LNMP scripts is worth having
随机推荐
合工大苍穹战队视觉组培训Day6——传统视觉,图像处理
基于C语言的内存管理-动态分区分配方式模拟
基于C#实现的文件管理文件系统
Flutter custom player progress bar
Registration of finite element learning knowledge points
Please tell me if there is any way to increase the write out rate when the Flink SQL client is in the sink table. When synchronizing through sink table
Cadence(十)走线技巧与注意事项
2022年收益率最高的理财产品是哪个?
内存管理-动态分区分配方式模拟
pl/sql之集合
有限元学习知识点备案
利用模m的原根存在性判断以及求解
IC's first global hacking bonus is up to US $6million, helping developers venture into web 3!
Problems caused by slivereappbar
Sub Chocolate & paint area
Set of pl/sql -2
Typescript encryption tool passwordencoder
Ueditot_ JSP SSRF vulnerability recurrence
23.8 using the applicationrunner or commandlinerunner to implement applicationrunner and commandlinerunner
Cve-2021-21975 VMware SSRF vulnerability recurrence