COUNT
The COUNT() Function is used to returns the number of rows.
Syntax :-
Example : Let's see how to used COUNT function in table.
SELECT COUNT (column_name)
FROM table_name
WHERE conditions;
Query :
Output :
SELECT COUNT (Salary)
FROM customers
WHERE Customer_Id = 4;
Now, you can see COUNT() Function calculated number of row in the salary column .
0 Comments