→Tags:←
【北方站长站-IT技术报道】问题:我在工作中遇到了难题,一列数据,除了时间戳以外别的都一样,谁能告诉我,应该如何来选择? 解答: --假如知道timestamp的值 select * from table where timestamp = 0x00000000000007EA --不知道值 --第二列 select top 1 * from table where timestamp not in (select top 1 timestamp from table ) --第三列 select top 1 * from table where timestamp not in (select top 2 timestamp from table ) --第四列 select top 1 * from table where timestamp not in (select top 3 timestamp from table ) (责任编辑:卢兆林)
|
|
|
|


看图说事儿



精彩图文






热门建站供求
栏目排行
共有 0 位网友发表了评论 此处只显示部分留言 点击查看完整评论页面