面试题

0 views
Skip to first unread message

goag...@gmail.com

unread,
May 7, 2006, 8:17:18 PM5/7/06
to goagrass
1,什么是多态。
2,接口和抽象类的区别
3,什么是XML,XSD,XSL
4,用一个Sql语句查找第12到73的记录。ID是自增长的,但不是连续的。
5,Asp.Net的页面之间传递参数有几种方法。
6,什么是拆箱,装箱。
7,Post,Get 有什么区别
8,Ado.net有那些类。
9,写出你常用设计模式
10 什么是引用类型,值类型


4,用一个Sql语句查找第12到73的记录。ID是自增长的,但不是连续的。

select *
from 表 a join(
select mobile from 表
group by mobile
having count(*) between 12 and 73
)b on a.mobile=b.mobile


select * from (select t.uid
,(select count(*) from sysusers s where s.uid<t.uid)as sort
from sysusers t) t where t.sort>12 and sort<73

select top (73-12) * from (select top 73 * from 表 ordr by id DESC) AS
t1 order by id DESC

select top 73 * from SHIPPER_MATERIALS where sm_id not in(select top 12
sm_id from SHIPPER_MATERIALS)


select * from (select t.uid
,(select count(*) from sysusers s where s.uid<t.uid)as sort
from sysusers t) t where t.sort>=12 and sort=<73

Reply all
Reply to author
Forward
0 new messages