Your database contains a table named Purchases. The table includes a DATETIME column named PurchaseTime that stores the date and time each purchase is made. There is a non- clustered index on the PurchaseTime column. The business team wants a report that displays the total number of purchases made on the current day. You need to write a query that will return the correct results in the most efficient manner.
Which Transact-SQL query should you use?
huzein
4 years, 6 months agoDudeHere
5 years, 2 months agoDudeHere
5 years, 2 months agoaxdev
4 years, 11 months agotmt
5 years, 3 months agoHoglet
4 years, 5 months agoVarad
5 years, 8 months ago