TheSuper
0
Q:

how to count number of rows in sql

SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'Your_table_nale';
4
SELECT COUNT(*)
FROM dbo.bigTransactionHistory;
4
/* COUNT() is a function that takes on the name of a clomn as an argument
and counts the number of rows where the column is not null */

SELECT COUNT(column_name)
FROM table_name;
1

New to Communities?

Join the community