adspace


List the ways to get the count of records in a table?

Answer Posted / Shubham Gangwar

In SQL, you can use COUNT(), COUNT(*) (counts non-null values), and COUNT(distinct column_name) to get the count of records in a table.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we rollback truncate?

1074


Does group by remove duplicates?

1112


what is collation? : Sql dba

1229


Can delete statement be rollbacked?

1056


define sql insert statement ? : Sql dba

1098


Do we need to rebuild index after truncate?

1141


what are all the common sql function? : Sql dba

1131


how to use regular expression in pattern match conditions? : Sql dba

1113


What is your daily office routine?

2347


How do I remove duplicates in two columns?

1188


Can we use distinct and group by together?

1133


What is the current version of postgresql?

1179


Is primary key clustered index?

1020


Is inner join faster than left join?

1278


what is dbms? : Sql dba

1061