select a.* ,b.enterday ,b.note from a,b where a.empid =b.empid;
解决方案 »
- C++ 调用SQL的存储过程 出现字符串数据,右截位 COUNT 字段不正确或语法错误
- 求一SQL语句的写法
- 运动会名次的一个修改问题`
- timestamp
- mysql 建立连接总是出错
- SQL Server2005 + Windows Server2003 作业问题
- 以.DAT后缀的数据库文件是什么数据库啊?
- 100高分讨论!你可能得到5000000$---您只要在ORACLE中能找到一条查询速度比SQL SERVER慢的记录!
- 菜鸟问题!
- What is the sort algorithm in ORACLE and SQL Server for Index?
- 急:这样的SQL语句怎么写呀?
- 如何使用T-SQL语句将一台数据库A(位于192.168.1.2)中的user数据库完全导入到数据库B(位于192.168.1.3)中呢?
party表删除了,但必须将party表中的数据导入到employee表中去,所以才提出了这个需要.
go
drop table employee
go
sp_rename 'newtable','employee'
,b.enterday
,b.note
from employee a
,party b
where a.empid =b.empid
go
drop table employee
drop table party
go
sp_rename 'newtable','employee'