我想在SQL表中插入一条数据,请问SQL语句应该怎么写

如题所述

语法:insert into 表(可以指定字段)values(字段值与前面指定的字段一一对应);
如 tb_user表中有name, password两个字段
则 insert into tb_user(name, password) values('jim', 123)
或 insert into tb_user values('jim', 123)
或 insert into tb_user(name) values('jim')
温馨提示:答案为网友推荐,仅供参考