ITeye博客

mysql

共 1 篇文章

【mysql】count 联想到的

今天使用count的时候发现了一些问题。回顾一下,温故而知新,可以为师矣~ <2,0> 语法: COUNT( expr ) <PS:count is a kind of aggregate functions in mysql.也就是我们说的group by配合使用的> Returns a count of the number of non- NULL values of expr in the rows retrieved by a SELECT statement. The result is a BIGINT value. COUNT(*) is somewhat different…

2013-04-15 18:42 · mysql · MySQL