查询问题啊 简单的啊 select top 6 from 表 where image is not null 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from 表 where 日期=getdate() select * from 表 where datediff(day,日期,getdate()) = 0 最好要加上order by 主键,速度快很多select top 6 from table where image is not null order by 主键 什么不行啊?select * from 表 where datediff(day,日期,getdate()) = 0//查当天记录select top 6 字段名 from 表 where image is not null//不为空的记录里查询前面的6条 select top 6 字段名 from 表 where image is not null//不为空的记录里查询前面的6条不行啊 select top 6 字段名 from 表 where image is not null 如何列出日期 很偶然发现的问题,不知道多少知道; 如何用一条SQL在表里插入一个字段并根据另一字段的值进行排序?????? 怎么查看临时表里的内容? 如果想写个 个人用的财务管理软件,数据部分要建几个表,表关系要为怎么样的?? 在VB里调用带exec的存储过程问题 求人帮我写这个存储过程 请问各位一个SQL 6.5 的问题 日志文件丢失,只有MDF和NDF怎么恢复?急!!! 没写过存储过程,大家帮个忙,解决一定给分 取结果集的问题 试过将SQL SERVER 7 的数据库备份文件还原到SQL SERVER 2OOO 的大虾请进!
select top 6 from table where image is not null order by 主键
select * from 表 where datediff(day,日期,getdate()) = 0//查当天记录
select top 6 字段名 from 表 where image is not null//不为空的记录里查询前面的6条
不行啊