摘要:
drop proc qiuhecreate proc qiuhe --用数据库语言做累加求和@n intas declare @sum int --相当于C#语言里定义变量 declare @i int set @sum=0 --再给变量赋值 ,相当于C#语言里的 int sum=0... 阅读全文
摘要:
use cangku create table cangkubiao(cno varchar(50) primary key not null,city varchar(50)not null,mianji int not null)insert into cangkubiao values('wh... 阅读全文
摘要:
1,distinct 对某一列进行去重检索有职工的工资大于或等于wh1仓库中任何一名职工工资的仓库号select distinct cno from zhigongbiao where gongzi >= (select Min(gongzi) from zhigongbiao where cno ... 阅读全文