how to count datewise data in sqlserver
Answers were Sorted based on User's Feedback
Answer / mythili
select BillDate, count(*) from AdminSalesDetailsItems group by BillDate
Is This Answer Correct ? | 11 Yes | 6 No |
Answer / amit bhardwaj
SELECT COUNT(colmnName) FROM Tablename GROUP BY Columnname
Is This Answer Correct ? | 9 Yes | 6 No |
Answer / ambi
select BillDate, count(*) [Total] from
AdminSalesDetailsItems group
by convert(varchar(50),BillDate,101)
select BillDate, count(*) [Total] from
AdminSalesDetailsItems group
by convert(varcharBillDate,101)
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / vidit tyagi
select BillDate, count(*) from AdminSalesDetailsItems group
by convert(BillDate,varchar,101)
Is This Answer Correct ? | 4 Yes | 4 No |
Can coalesce return null?
How to receive returning result from a query?
Explain “row_number()” in sql server with an example?
Explain about extended stored procedure?
what's the difference between delete table and truncate table commands? : Sql server database administration
What are the security related catalog views? : sql server security
Where is SQL Srever (In sQL server 2005/2008 where is SQL Server Located).
What is an extended Stored Procedure?
What are the different SQL Server Versions you have worked on?
what's the difference between SQL & MY-SQl...? And what we learn from these ....?
how to find nth highest salary
103 Answers Cognizant, IBM, NexGen, Oracle,
How to create a view with data from multiple tables?