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 |
hi i gone though satyam interview. what is Acid Properties?
What are the advantages of using stored procedures? Please don't simply say compilation time will be saved as they are already complied. Please specify some other advantages.
How can u get the number of pupils connecting the database?
what is advantages in sql 2005 over sql 2000?
Explain what is “asynchronous” communication in sql server service broker?
What is the difference between writing data to mirrored drives versus raid5 drives
What is RAID? What are the different types of RAID configurations?
List the different types of joins?
What is the difference between in and exists. Ex: select * from emp where empno in(....) and select * from emp where empno exists(....) What is the difference between a Join and Union and Union and UnionAll.
how can we know that how many users are connected in perticuler server??????
What xml support does the sql server extend?
Explain “row_number()” in sql server with an example?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)