SQL - Count

> (Data|State) Management and Processing > (Data Type|Data Structure) > (Relation|Table) - Tabular data > Structured Query Language (SQL)

Table of Contents

1 - About

count in SQL count the number of row in a relation (table, query,...).

Database can use an index on a column to count the number of rows in the table only when the column has been declared NOT NULL