in how many ways we can use count()
Answers were Sorted based on User's Feedback
Answer / pravati
In two ways we can use count
1. SELECT COUNT(*) FROM table name.
2.SELECT COUNT(DISTINCT *) from table name.
Is This Answer Correct ? | 0 Yes | 0 No |
Find columns used in stored procedure?
what is Data Transformation Services (DTS) ?can u explain me in detail?
What is the difference between for xml raw and for xml auto?
can any one please send sql quries most used in applications.
Does sql server 2000 full-text search support clustering?
About Indexed Views? with example? plz reply...
i have table students with fields classname,studname select * from students classname studname 1 xxxxx 1 yyyy 1 zzzz 2 qqqq 2 tttt 3 dsds 3 www i want the output should be No of students in class 1 : 3 No of students in class 2 : 2 No of students in class 3 : 2
What have included columns when we talk about sql server indexing?
What is the synonym of join?
Scalability, Availability, Integration with internet, etc.)?
How do I view views in sql server?
What is an identity column in insert statements?