INSERT news(adv_memberid,news_topic,content,announce_time,last_time,type)
select 'admin', news_topic、content、time, time, type
from other_news
where ...
select 'admin', news_topic、content、time, time, type
from other_news
where ...
解决方案 »
- 一个面试题,被考住了
- SQL 通过select 语句调出insert表数据脚本 ???特急
- 如何控制sql server ce中的数据格式
- SQL逐级汇总及显示问题
- 急,急,急,用ExecuteNonQuery运行load data infile 总是报错!想了很久都想不出来!
- SQL语句问题有关重复值求高人解答
- 在“存储过程”中为什么不能向“链接服务器”中的表里插入数据?
- 程序已经设置了回滚的语句,但是插入操作失败后为什么自增长字段id的值仍然增加了?
- 急!300分向送(关于开发一个几千人的数据库系统)
- 使用何种开发工具连接INTERNET上的数据库?
- 请教各位大虾一个菜菜的问题
- 请问dbo.f_getdbpath怎么会无效的?
select 'admin',
other_news.news_topic,
other_news.content,
other_news.type,
other_news.time,
other_news.time,
other_news.type
select 'admin',news_topic,content,time,time,type
from other_news
select 'admin', news_topic,content,time, time, type
from other_news
select 'admin',
other_news.news_topic,
other_news.content,
other_news.type,
other_news.time,
other_news.time,
other_news.type
from othernews --刚才这里少写了