Skip to content

Instantly share code, notes, and snippets.

@real-jiakai
Last active August 26, 2022 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save real-jiakai/db4004fee95522ab0911633755d3d9a5 to your computer and use it in GitHub Desktop.
Save real-jiakai/db4004fee95522ab0911633755d3d9a5 to your computer and use it in GitHub Desktop.
express框架mysql模块sql语句
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