MYSQL 数据库,同一个数据库中有两个表 news和article,现在我想把表article中的字段 title content zznews nfrom hits dateandtime editor 内的值赋值给表news中的字段 title content author source hits sendtime keywords,SQL语句该怎么写?
我之前像下面那么写的,出错,请高手来解答!
insert into news(Title,Content,Author,Source,Hits,Sendtime,Keywords) values select title,content,zznews,nfrom,hits,dateandtime,editor from article where tjnews=0 and typeid=8
 眼眸繁星
眼眸繁星 
					弑天下
 
					开满天机
 随时随地看视频慕课网APP
随时随地看视频慕课网APP
相关分类