当前位置:网站首页>通过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’;
删除数据
边栏推荐
猜你喜欢

Demand side power load forecasting (Matlab code implementation)

时间复杂度和空间复杂度

EndNote User Guide

【Linux】宝塔面板设置MySQL慢查询日志,未走索引日志

Electron application development best practices

Quick sort eight sorts (3) 】 【 (dynamic figure deduction Hoare, digging holes, front and rear pointer method)

Attentional Feature Fusion

想了解API接口,这一篇就够了

拿下跨界C1轮投资,本土Tier 1高阶智能驾驶系统迅速“出圈”
![[贴装专题] 基于多目视觉的手眼标定](/img/10/8303854fbba5d9b06032e38e9df233.png)
[贴装专题] 基于多目视觉的手眼标定
随机推荐
Redis cache update strategy actively
踩坑scrollIntoView
多线程案例——阻塞式队列
源代码阅读器项目
Redis + NodeJS 实现一个能处理海量数据的异步任务队列系统
Transformer+Embedding+Self-Attention原理详解
Restful WebServices 学习笔记
KMP& sunday
实验室装修及改造工程程序简介
集合与函数
Qt 国际化翻译
【Linux】宝塔面板设置MySQL慢查询日志,未走索引日志
动态内存管理
好久没上博客了,好长时间没有进展了
【 size_t is unsigned integer (1 > 10) - > 1.
技术分享 | 如何模拟真实使用场景?mock 技术来帮你
By asking where the variables are stored, the shepherd boy laughed and said to use pointers, Go lang1.18 introductory refining tutorial, from Bai Ding to Hongru, the use of go lang type pointers (Poin
JDBC中的增删改查操作
hover内部指定子类的样式
面试官:MySQL 中 update 更新,数据与原数据相同时会执行吗?大部分人答不上来!