作用是计算一共有多少符合条件的行。
1并不是表示第一个字段,而是表示一个固定值,count(1)和count(2)效果是一样的
count(*),执行时会把星号翻译成字段的具体名字,效果也是一样的,不过多了一个翻译的动作,比固定值的方式效率稍微低一些。
count(字段值),将返回符合条件的非空数量 1.查询所有数据,列出7列数据

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1QAAAD6CAIAAAAp/ZEJAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAVzklEQVR4nO3dT4ge530H8Oc1wTrUBHLIQT7EYGIa2A27ZEV2cSDRCyHoUIIOwgntoVAauRQXXHKIAy2ybutDYSl7sDbE4EPzD4FF0oMOKZZuWlebaptdkGMnWCLxGtQ4zdpuu0rst4dXGo/nnfd95513/r3vfD4YMe+z8878Vg74m9/zPDOdt35zO3TC81svBAAA5t3HoqMzp0/VWAcAABV4oO4CAACozsfGn5LNxUuXi7oUs0v/GAAaroDw1499586dm/5SzLrz58/LfwDQZFOFP7GPhHPnzsl/ANBk+cPfxUuXxb4m63Q6IYRerzflV3JcBwBorJzhL0p+/WQQ6UeE+OCwkb5h48VKFFnqvRoiSmwjfvfBVNc/v9PpjB0EAGq3uLwWQti7cW3sYFye3b6J5Nfr9QbzXDSYSBhjzyxPag316oeqMi4bBlJdJH7OoNR/F6mDJRUPAGTUT3j9tNc3NvmFHOFv2GxvIgI2SpNrq8s0fyHx2CcCAkCN4vkvS/ILk077JpJfNCEYimunjZ2mDEMaUWHILGfi/LF1pja9ppcoPj6SmFHN8mtOf/dpJP6eBWsAmF68gRc3Nszt3bi2uLyWMfmFiTp/qT2/width03OxqPbsGnN1K/niyaJSdIpDRY/rMKMv2Z2iQlfXToAaKbU3JYlzE0qa/gbvbd3MFhknw2caN5wRGMv9cwc6S36XQrMSYUEr+Y02AYX/9VVCQDMk0TUy5j84j2/Ye3DuEzhb1jyG5GQRieV+BcnyjRZGnLTh6TC+2Q1Pi2ljDV58X8F1lMCQIGiwJcj+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aJRKx76C+lyqjFd8kdAR8spUCgEAtpL6Pa65/BaN2b0HTOwCAESqW+0rk9g6H8WS/K3ABwAQq2LsKzMt2+vUrVldAKDhqhX78vbblmnJayxoj5gIBgCaoHJr+8afwGQ+AKAJulT7zp2/MNLbj/r6AABEimLfwsLCSO896usDABArin2nT50Y3Y1vXL+ysrISL+ar/p+j+yoAAMZg6ou7d84sv3X0yOGZPftvXL8StZ47f2FlZeX0qRMze/aP4q4LCwunT514tO1PRnHxUZibm9vY2Jj0KAAAyrpx/Uqc7qJo130nb5wFhyVezzc3N/fBBx8M9+IjotoHANTdJHfy1iXzBY/9AwDqb5Kxb25uboJ374lqHwBQd30+rnkouxzyqn2pOFiFouDs3gPW9gEAtdZz7BvidGfe2r5kY0Uqgqp9AEDd9TzJu3rt8rAyUNcyXnX2fFjbBwDUnbV9paj2AQB1V92dvNUp9QXVPgCg/lT7SlHtAwDqrqLVvkqV+oJqHwBQf6p9paj2AQB1V9FqX9Wo9gEAdddn7BtK9aug2le1RKjaBwDUnWpfKap9AEDdWdtXimofAFB33V/Odu78hRHdu17VPu/kBQBqrUvsW1hYGN29q/aUlgKqfQBA3XWJfadPnRjdvVevXZ6dm1u9dnl274Hq/6naBwDUWlHsm9mzf9S3j7JUXf4EAKivSW7pAABgbMQ+AIBGEPsAABpB7AMAaASxDwCgEcQ+AIBGEPsAABpB7AMAaASxDwCgEcQ+AIBGEPsAABpB7AMAaASxDwCgEcQ+AIBGEPsAABpB7AMAaASxDwCgEcQ+AIBGEPsAABpB7AMAaASxDwCgEcQ+AIBGEPsAABpB7AMAaASxDwCgEcQ+AIBGEPsAABpB7AMAaASxDwCgEf4ftRKbpGc1emAAAAAASUVORK5CYII=" alt="" />


4.括号中是表中的字段值,count(字段值),返回表中非空的C_Id字段下的数据数量

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1MAAAB8CAIAAAADyH21AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4b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AAFxMfjbUYp6ED/Wq7WV/WCQFAgCAbuN08ouo0mnFvOiTSCDn2dQLAQAAOkz+nuRsv2Kjf+gYI7wAAAA+d2t+NqEt+HwW9a9kPgAAAJWLyc9mfDbpGC7DuwAAAG4lv7AVuDZ7wnZG7PcwIgwAALqEc/P8Wh/CiH0AAKBLxNT8FhaXMr181ucHAACALyr5jY2NZXrtrM8PAAAAVVTym5udye7C165cXl5e9if2uf8zu1sBAADQGoU7W7fPlc9PToz3DY5cu3LZ27uwuLS8vDw3O9M3OJLFVcfGxuZmZx4d+FEWJ8/CwMBAvV5vdy8AAABsXbty2U93frSLX9vrx8G0+HP7BgYGrl69mu7JM0LNDwAAdIB2ru3NS+wTHgcIAAA6QjuT38DAQBuvngg1PwAA0AEaTH6p1MBia37uRENqfgAAoAMkfodHihkoep6fO7FPqPkBAICOkLjmt7G+mlYMYp4fAABAKzk6z8+1Zb/U/AAAQAdgba8Van4AAKADuFjzc63gJ9T8AABAR3C05jcwMODlQkfWeVDzAwAAHcDFmt/Vx8SZEWFqfgAAoAM4WvNzDTU/AADQARpMfqnUwGJHct2JhtT8AABAB6DmZ4WaHwAA6AAuzvNzEDU/AADQAeLf3rawuJTRtfNV86vX6+3uBQAAQFNikt/Y2Fh213bwuX1hqPkBAIAOEJP85mZnsrv2xvpq/8DAxvpq/9Ax939S8wMAAHkXlfz6BkeyvrwXp/LyEwAAINfaucIDAAAArUTyAwAA6BYkPwAAgG5B8gMAAOgWJD8AAIBuQfIDAADoFiQ/AACAbvF/dibmZdQSDYgAAAAASUVORK5CYII=" alt="" />

  返回C_Id字段下符合条件的非空数据数量

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1UAAAB7CAIAAAAT0z1KAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAQCklEQVR4nO3dT2gc5xnH8WdNsKA1gRxykA89iJgGpEgiK5BxIJEgBB160EGY0B4KpZFLccEl/xxoWesmHwqi6GBtSM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wc63QEAAAC0VUrv/w14Aq/xkRvaI3e9T+DlmbwAAACO1OU/J6gFhzkxBcTQhKcdoj7Al2gIAAC6R7ryn30Uc5qFlv2M+7UvNzfWiIAAAKB7pCv/NcGt6vkFOK3sR9QDAABdLo35zzi3q36pVe+Mh7gHqpVCwh8AAEAa8593rtZyCWDAqQh/AAAAjjTmPxtqYU/8J3/V9tIYGcmCAACgO6U6/wVU7LTCXvBJxJP2bGqHAAAAuZS9z3+2v59jYPgoc74AAACa9Nb/bKKb95Nc1O+S/AAAALzSmP9sZmyjzuoy4QsAAOBIV/7zu0vXZo/fzoD9DuaIAQBAV0nd+r/2RzHCHwAA6Coh9b/FpeVEL5/0+QEAAKAJyn/j4+OJXjvp8wMAAMArKP/Nz80md+Grly+trKy4C/7S/2dyQwEAANBOha+3b50rvzs1OdE/NHr18iVn7+LS8srKyvzcbP/QaBJXHR8fn5+bfXDgR0mcPAmDg4P1er3TvQAAALB19fIlN9250W5xafmN118Lv//XDYVxcdf8DQ4OXrlyJd6TJ4T6HwAAyI1O3v+blfAnfHwgAADIkU7mv8HBwQ5ePRLqfwAAIDeazH+x1MOC63+pSofU/wAAQG5Efv5HjEnIb/1fqpKfg/ofAADIjcj1v82NtbjCkF/978qVK2lbGkj9DwAA5Abr/6xQ/wMAALnB/b9WqP8BAIDcoP5nhfofAADIDep/Vqj/AQCA3KD+Z4X6HwAAyA3qf1ao/wEAgNxoMv/FUg8Lrv+lKh1S/wMAALlB/c8K9T8AAJAbrP+zQv0PAADkRvjz3xaXlhO6drbqf/V6vdO9AAAAiEFI/hsfH0/u2n7P/00h6n8AACA3QvLf/Nxsctfe3FgbGBzc3FgbGD6a/j+p/wEAgHwIyn/9Q6NJX94JVVn5EwAAIAc6ef8HAAAA2o/8BwAA0F3IfwAAAN2F/AcAANBdyH8AAADdhfwHAADQXf4PFGktetU2OcEAAAAASUVORK5CYII=" alt="" />

												

select count(1) from table where ..这句sql语句的作用的更多相关文章

  1. 使用ODP.NET一次执行多句SQL语句

    在实际开发的时候有的时候希望一次执行多句SQL语句,又不想使用Transcation的话,可以直接将多句SQL语句拼接起来.例如: var sql = "Begin " + &qu ...

  2. 同样的一句SQL语句在pl/sql 代码块中count 没有数据,但是直接用SQl 执行却可以count 得到结果

    pl/sql 代码块: SELECT count(distinct t2.so_nbr) INTO v_count2 FROM KFGL_YW_STEP_qd t2 WHERE t2.partitio ...

  3. 用一句sql语句更新两个表并可更新对应的字段的值

    ACCESS 例子: insert into products (ProNumber,CASNumber,Cnname,Price,Enname,Baozhuang,Pinpai) select Pr ...

  4. IT忍者神龟之中的一个句sql语句——连接同一字段的全部值

    Oracle能够用SYS_CONNECT_BY_PATH字符串聚合函数: SELECT LTRIM(MAX(SYS_CONNECT_BY_PATH(productname, ', ')), ', ') ...

  5. tp5中很牛皮的一句sql语句,三个条件(两个不确定条件,一个硬性条件)

    $result = Db::table('xxxxxx')   // 表名 ->alias('g') ->join('xxxxx_2 u','g.user_id = u.id') -> ...

  6. 逻辑很重要:一句sql语句的事,自己却想了半天,绕了个大弯子

    问题:系统升级后审核认证信息分别写入两个表,现在需要链接用户表和相应的新旧审核表获取字段值? 钻进胡同里:一直纠结于升级之后的会员信息从新表查,升级之前的数据从旧表查,纠结于根据时间戳分条件判断, 其 ...

  7. select count(*) 底层究竟做了什么?

    阅读本文大概需要 6.6 分钟. SELECT COUNT( * ) FROM t是个再常见不过的 SQL 需求了.在 MySQL 的使用规范中,我们一般使用事务引擎 InnoDB 作为(一般业务)表 ...

  8. select count(*) 底层到底干了啥?

    作者:贾春生,http://dwz.win/myg SELECT COUNT( * ) FROM TABLE 是个再常见不过的 SQL 需求了. 在 MySQL 的使用规范中,我们一般使用事务引擎 I ...

  9. (转载)MySQL 统计数据行数 Select Count

    (转载)http://www.5idev.com/p-php_mysql_select_count.shtml 统计数据行数 SELECT COUNT() FROM 语法用于从数据表中统计数据行数. ...

随机推荐

  1. 关于GestureDetector.OnGestureListener的onScroll参数distance问题

    关于GestureDetector.OnGestureListener类的onScroll方法参数distanceX和distanceY问题 看到有文章上说onScroll方法中distanceX和d ...

  2. android popupwindow低版本报空指针

    在项目中使用Popupwindow pop=new Popupwindow();在2.3版本报 异常信息: Exception: null 堆栈信息: android.widget.PopupWind ...

  3. static class

    http://msdn.microsoft.com/zh-cn/library/79b3xss3(VS.80).aspx 不可被继承

  4. How to make vcredist_x86 reinstall only if not yet installed

    Since you don't want to tell what minimal version of Visual C++ redistributable package you require, ...

  5. 使用Userlock监控用户访问 增强学校网络安全

    随着网络技术的不断进步,一方面,拥有广泛教学资源的各大大中院校纷纷升级校园网络技术,保护学校的网络安全.另一方面,网络安全面临的威胁也层出不穷.面对来自网络内外的安全威胁,负责中小学.大学院校网络安全 ...

  6. java日期int和String互转

    /** * 时间unix转换 * @param timestampString * @return */ public static String TimeStampDate(String times ...

  7. COJ 0557 4013多重部分和问题

    4013多重部分和问题 难度级别:B: 运行时间限制:2000ms: 运行空间限制:262144KB: 代码长度限制:2000000B 试题描述 n种大小不同的数字 Ai,每种各Mi个,判断是否可以从 ...

  8. 【转】【教程】office 2013 & visio 2013的激活

    原文网址:http://zhan.renren.com/sola86?gid=3602888498037097351&checked=true 1.下载安装文件 office和visio都有两 ...

  9. 运营总监招聘-e袋洗招聘-拉勾网

    运营总监招聘-e袋洗招聘-拉勾网 运营总监

  10. [置顶] 宏途_LCD调试流程.

    今天在调试宏途的LCD屏时,开始是开机屏幕不亮,背光都不亮,可能板子已经损坏,一般通过测试电流电压简单验证,(注:硬件引脚没焊好也会引起读lcd id出现错误!!!)出现这个问题一般是因为引脚没焊好, ...