求SQL代码 如何从一个表中根据编号获取姓名再插入另一个表中 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 insert into b(姓名) select 姓名 from a where a.编号=1; 恩,只要插入和查询列对应(顺序和类型)就可以了insert into b(a,b) select c,e from a where a.编号=1; "insert into liuyanbiao (学号,发送者姓名) select 学号,姓名 from student where 学号='"+xh+"'";我执行这条语句了 ,运行出来说‘,’号附近有问题 你这是中文逗号,改成英文逗号"insert into liuyanbiao (学号,发送者姓名) select 学号,姓名 from student where 学号='"+xh+"'"; 我知道啊,可是我显示留言表的时候有发送者姓名啊,还要插入标题,内容写成一条SQL语句 ,然后就不知道怎么写了 insert into aa values('select name from bb where id=1') 编程语言 CheckBoxList选中的问题 急!在三层模式下编辑Datalist没有取出任何数据? 一条sql查出所有类别前10条记录 初学者请教 一个非技术问题! 《〈〈Sql问题〉〉》 谁有水晶报表英文版的预编译 MSI installer 包的product id号? 动态生成的checkbox如何得到的Checked值? (少林足球中的“救命啊!”) vs.net的安装问题 ACCESS 模糊查询 asp.net发送电子邮件问题???
insert into b(a,b) select c,e from a where a.编号=1;
"insert into liuyanbiao (学号,发送者姓名) select 学号,姓名 from student where 学号='"+xh+"'";
然后就不知道怎么写了