当前位置:网站首页>通过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’;
删除数据
边栏推荐
猜你喜欢
随机推荐
快速解决MySQL插入中文数据时报错或乱码问题
BERT预训练模型(Bidirectional Encoder Representations from Transformers)-原理详解
实验室装修及改造工程程序简介
壁纸
3D printed this DuPont cable management artifact, and the desktop is no longer messy
借问变量何处存,牧童笑称用指针,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang类型指针(Pointer)的使用EP05
集合与函数
多线程(基础)
Electron application development best practices
MySQL备份与恢复
Dream Notes 0809
How to quickly get through the mirror release process?
深度学习--循环神经网络(Recurrent Neural Network)
conditional control statement
机器学习--线性回归(Linear Regression)
分类预测 | MATLAB实现CNN-GRU(卷积门控循环单元)多特征分类预测
RTP
The GNU Privacy Guard
Practical skills: a key for image information in the Harbor, quick query image
好久没更新博客了