当前位置:网站首页>MySQL basic statement query
MySQL basic statement query
2022-04-23 13:06:00 【It's never too late to be alone】
Like a notebook , If you forget, check it out .
CREATE DATABASE teacher;// Create a database named teacher
DROP DATABASE student;// Delete student database
CREATE TABLE teacher_name(
id INT(11),
name VARCHAR(25),
age INT(2)
);// stay teacher Create tables in the database teacher_name
DROP TABLE teacher_name;// Delete data table teacher_name
INSERT INTO teacher_name (id,name,age)
VALUES(002,' Teacher zhang ',23);// towards teacher_name Insert a piece of data into the table
DELETE FROM teacher_name WHERE id = 001;// Delete teacher_name In the table id=001 The data of
SELECT name = ' Teacher zhang ' from teacher_name;// Inquire about teacher_name In the table name= Mr. Zhang's data
UPDATE teacher_name SET name = ' teacher ' WHERE name = ' Teacher he ';// take teacher_name In the table name= Mr. he revised into name = teacher
版权声明
本文为[It's never too late to be alone]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231303465691.html
边栏推荐
- The use of dcast and melt in R language is simple and easy to understand
- Softbank vision fund entered the Web3 security industry and led a new round of investment of US $60 million in certik
- mysql支持ip访问
- filter()遍历Array异常友好
- mui 关闭其他页面,只保留首页面
- 如何实现点击一下物体播放一次动画
- Important knowledge of transport layer (interview, retest, final)
- 31. 下一个排列
- The accuracy and speed are perfectly balanced, and the latest image segmentation SOTA model is released!!!
- 100 GIS practical application cases (34) - splicing 2020globeland30
猜你喜欢

nodeJs + websocket 循环小案例

Design of body fat detection system based on 51 single chip microcomputer (51 + OLED + hx711 + US100)

Record the problems encountered in using v-print

CVPR 2022 & ntire 2022 | the first transformer for hyperspectral image reconstruction

22. 括号生成

Wonderful review | the sixth issue of "source" - open source economy and industrial investment

Custom nail robot alarm

AUTOSAR from introduction to mastery 100 lectures (52) - diagnosis and communication management function unit

The use of dcast and melt in R language is simple and easy to understand

melt reshape decast 长数据短数据 长短转化 数据清洗 行列转化
随机推荐
SQL exercise question 1
The El table horizontal scroll bar is fixed at the bottom of the visual window
(personal) sorting out system vulnerabilities after recent project development
Three channel ultrasonic ranging system based on 51 single chip microcomputer (timer ranging)
AUTOSAR from introduction to mastery 100 lectures (81) - FIM of AUTOSAR Foundation
Go language array operation
After the data of El table is updated, the data in the page is not updated this$ Forceupdate() has no effect
nodeJs + websocket 循环小案例
7_ The cell type scores obtained by addmodule and gene addition method are compared in space
[untitled] make a 0-99 counter, P1 7 connected to key, P2 connected to nixie tube section, common anode nixie tube, P3 0,P3. 1. Connect the nixie tube bit code. Each time you press the key, the nixie
The project file '' has been renamed or is no longer in the solution, and the source control provider associated with the solution could not be found - two engineering problems
async void 導致程序崩潰
Pytorch: a pit about the implementation of gradreverselayer
STM32 tracking based on open MV
Golang implements MD5, sha256 and bcrypt encryption
World Book Day: I'd like to recommend these books
unity常见的问题(一)
Process virtual address space partition
pyqt5 将opencv图片存入内置SQLlite数据库,并查询
SSM framework series - data source configuration day2-1