RT
解决方案 »
- 请问如何查找Binary列内是否含有特定字节值?
- INSERT INTO语句里怎么内嵌查询语句,好像出错啊?
- 在SQL Server 2000的查询中:select ID + name as 信息 from table1 怎样才能使“信息”由“ID +空格+name”组成?
- 求一段sql库存查询语句
- 有关这样的查询怎么做呢?
- 如何用一条SQL语句,将C:\mydata\book1.txt中的所有数据传入tabe1表的bbb字
- Select的一个有难度的问题!请高手指点,给出结果即给写!
- 有关sqlserver2000复制的问题,高手请帮忙
- 关于数据导入的问题
- 如何建TRIGGER?
- Update的使用?
- Update的使用?
insert into B
select * from A
两个表字段要一样。
select * into tb from ta --tb不存在
select * into TB from TA ---你的TB没建insert into TB
select * from TA ---已建好和TA字段一样多的表。
2.insert B select * from A-->表B存在时
select * into tb from ta --tb不存在
自己多试试,就知道了
共同进步
into 新表
from 原表
2.insert B select * from A-->表B存在时
正解
select * from A jion inner b on a.id=b.id