数据库题

[复制链接]
查看11 | 回复1 | 2007-11-16 21:14:37 | 显示全部楼层 |阅读模式
全部经过测试:select * from b where姓名 like '%勇%' and year(出生日期) like '%78%'select count(编号) as 人数 from bselect * from B where 出生日期=(select min(出生日期) from B) create table c(编号 int identity (1,1) primary key not null,姓名 char(8),出生时间 datetime)insert into c select 姓名,出生日期 from b或者select top 0 * into C from B create PROCEDURE getRow1 as select * from B where 编号=1 delete from a where C_ID not in(select C_ID from D)to mxm1123:你太快了!
回复

使用道具 举报

千问 | 2007-11-16 21:14:37 | 显示全部楼层
你们这样不好的...授人予鱼不如授人予渔全部给人家做完了..!....好吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行