当前位置:网站首页>通过Doc在MySQL数据库中建表
通过Doc在MySQL数据库中建表
2022-08-09 10:21:00 【左明水】
进入doc后:
show databases;
展示所有数据库
exit;
推出doc
create database School;
创建一个数据库
use School;
进入数据库
create table StudentInfo(
name char(10),
age char(3) );
建表
insert StudentInfo(name,age)
VALUES(‘大卫’,‘18’);
插入数据
select *from StudentInfo;
查询
update StudentInfo set age=‘12’ where name=‘HAHA’;
更新数据
insert into studentInfo (name,age)values(‘晶竹’,20);
插入数据
delete from StudentInfo where age=‘20’;
删除数据
边栏推荐
猜你喜欢
史上最小白之《Word2vec》详解
EndNote User Guide
文件操作
JDBC中的增删改查操作
Demand side power load forecasting (Matlab code implementation)
【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)
深度学习--循环神经网络(Recurrent Neural Network)
3D printed this DuPont cable management artifact, and the desktop is no longer messy
Super detailed MySQL basic operations
动态内存管理
随机推荐
写一个通讯录小程序
1004 成绩排名 (20 分)
WUSTOJ:n个素数构成等差数列
GeoScene Pro 2.1下载地址与安装基本要求
需求侧电力负荷预测(Matlab代码实现)
[Halcon&定位] 解决Roi区域外的模板匹配成功
[贴装专题] 视觉贴装平台与贴装流程介绍
主从postition变化无法锁定_Slave_IO_Running显示No_Slave_Sql_Running显示No---Mysql主从复制同步002
多线程(基础)
多行省略和选择器
开源SPL,WebService/Restful广泛应用于程序间通讯,如微服务、数据交换、公共或私有的数据服务等。
ESIM(Enhanced Sequential Inference Model)- 模型详解
antd表单
拿下跨界C1轮投资,本土Tier 1高阶智能驾驶系统迅速“出圈”
踩坑scrollIntoView
基于信号量与环形队列实现读写异步缓存队列
Browser error classification
Redis 缓存主动更新策略
抛出一个问题? Mysql环境下进行Count操作执行的时候速度很慢_需手动给主键添加索引---MySql优化001
阿里神作!吃透这份资料入厂率高达99%