随笔分类 -  SQL

摘要:create database mydb; use mydb; create table mt (Id bigint identity(1,1) not null primary key, Author varchar(100) not null default '', Comment varcha 阅读全文
posted @ 2025-01-04 19:17 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要:sudo systemctl stop mysql; sudo apt purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*; sudo rm -rf /etc/mysql /var/ 阅读全文
posted @ 2023-09-09 01:57 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要:use db; 'CREATE TABLE `t1` ( `id` bigint NOT NULL AUTO_INCREMENT, `name` varchar(40) NOT NULL DEFAULT '''', `author` varchar(40) NOT NULL DEFAULT '''' 阅读全文
posted @ 2023-09-04 21:20 FredGrit 阅读(14) 评论(0) 推荐(0) 编辑

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