mysql插入与主键相同值的另外一个字段

insert into users(username,password) values((select auto_increment from information_schema.tables where table_schema ='mytest' and table_name='users'),'123456' ); select * from information_schema.tab
相关文章
相关标签/搜索