随笔分类 -  Mysql

摘要:UPDATE your_table SET your_column = 1; 利用软件 UPDATE your_table SET your_column = 1; 阅读全文
posted @ 2024-11-05 15:39 hack747 阅读(2) 评论(0) 推荐(0) 编辑
摘要:select * from testTable1; 查询表中的全部数据 INSERT INTO testTable1(username,password) VALUES('admin','admin'); 在testTable1表中 添加两个字段 分别为username和password 数值adm 阅读全文
posted @ 2020-03-01 18:32 hack747 阅读(333) 评论(0) 推荐(0) 编辑
摘要:基本数据类型: 整数(int),小数(double),固定长度字符(char),可变长度字符(varchar),文本(text),二进制大对象(blog) 阅读全文
posted @ 2020-03-01 17:33 hack747 阅读(216) 评论(0) 推荐(0) 编辑
摘要:CREATE DATABASE testdb CHARSET=UTF8 创建一个数据库 名字叫做testdb USE testdb; 选择数据库 CREATE TABLE testTable1( -> id int(11) not null primary key auto_increment, - 阅读全文
posted @ 2020-03-01 17:29 hack747 阅读(339) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示