执行从查询语句中,直接显示出20行记录? 通过一查询语句,返回20行的记录,这20行的记录除个一列数据为某一固定项外,其他的都为空?表中也没数据?这样的语句怎样写? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select top 20 id = 1 , col = '' from tb select top 20 id = 1 , col = null from tbselect top 20 id = 1 , col = '' from tb select top 20 'a' as col1,' ' as col2,....from sysobjects a ,sysobjects b 表中也没数据?那乌龟的也查不到数据!对。select top 20 id = 1 , col = null from sysobjects a ,sysobjects b select top 20 id = 1 , col = '' from sysobjects a ,sysobjects b select top 20 id = 1 , col =null from sysobjects select top 20 id=1 ,col='',co2='' from syscolumns 在cursor中使用存储過程報錯,菜鳥求救!急 請問一個取整的函數:謝謝 SQLID标识列重新排列后顺序乱了 SQL 语句问题 怎么样才能使VFP6.0中的数据库表与access2000中的表进行互传数据? SQL SERVER与DELPHI的DBEXPRESS连接有内存漏洞问题吗? 关于oracle数据库多表连接查询的问题 请教清空SQL7.0日志的SQL语句 sql 2008 只有MDF文件恢复 求一句SQL count 结果明显不正确 求一个sql函数,获取部门编号!!
select top 20 id = 1 , col = '' from tb
from sysobjects a ,sysobjects b
select top 20 id = 1 , col =null from sysobjects
select top 20 id=1 ,col='',co2='' from syscolumns