Last active
August 26, 2022 11:05
-
-
Save real-jiakai/db4004fee95522ab0911633755d3d9a5 to your computer and use it in GitHub Desktop.
express框架mysql模块sql语句
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table users( | |
id int primary key, | |
username char(20), | |
password char(20), | |
status int) | |
insert | |
into users | |
values(2,'ls','664646',1), | |
(3,'ww','22002',0); | |
alter table users | |
modify id int auto_increment, | |
modify status int default 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment