当前位置:网站首页>Create a table in a MySQL database through Doc
Create a table in a MySQL database through Doc
2022-08-09 10:43:00 【Zuo Mingshui】
After entering doc:
show databases;
Show all databases
exit;
Launch doc
create database School;
Create a database
use School;
Enter database
create table StudentInfo(
name char(10),
age char(3) );
Create table
insert StudentInfo(name,age)
VALUES('David','18');
insert data
select *from StudentInfo;
query
update StudentInfo set age='12' where name='HAHA';
update data
insert into studentInfo (name,age)values('Jingzhu',20);
Insert data
delete from StudentInfo where age='20';
Delete data
边栏推荐
- 工作--今天的学习
- 面试官:MySQL 中 update 更新,数据与原数据相同时会执行吗?大部分人答不上来!
- faster-rcnn学习
- unix环境编程 第十四章 14.4 I/O多路转接
- Nodejs服务端
- antd表单
- [Error record] Solve the problem that ASRock J3455-ITX cannot be turned on without a monitor plugged in
- TensorFlow:NameError: name ‘input_data’ is not defined
- Probably 95% of the people are still making PyTorch mistakes
- cnn的输入输出
猜你喜欢
随机推荐
基于STM32设计的环境检测设备
Electron application development best practices
工作--今天的学习
Unix System Programming Chapter 15 15.2 Pipes
Mysql多表查询
Win32控件--------------------WM_DRAWITEM消息测试程序
unix环境编程 第十五章 15.6 XSI IPC
一天半的结果——xmms on E2
机器学习--朴素贝叶斯(Naive Bayes)
Nodejs服务端
MySQL外键在数据库中的作用
真香!肝完Alibaba这份面试通关宝典,我成功拿下今年第15个Offer
caffe ---make all编辑出错
Unix Environment Programming Chapter 14 14.8 Memory Mapped I/O
【原创】JPA中@PrePersist和@PreUpdate的用法
autogluon安装,使用指南,代码
LM小型可编程控制器软件(基于CoDeSys)笔记二十六:plc的数据存储区(模拟量输入通道部分)
2021-01-11-雪碧图做表情管理器
OpenGL ES2.0编程三部曲(转载自MyArrow)
unix环境编程 第十五章 15.7消息队列








