Query SQL to get all column and min max datetime by MSSQL
问题 I'm using Microsoft SQL Server. And Here is my table Added sample data format text as table ╒══════════╤═════════════╤══════════╤═══════╤═════════════╤═════════════════════╤══════════════════╤══════════════════════╤══════════╤═════════════╤═════╤════════════╤════════════╤════════════╤══════════╕ │ RecordID │ ID Employee │ Resource │ Shift │ ProjectID │ Drawing No │ Production order │ PN │ Quantity │ ProductName │ BNo │ Start Date │ Start Time │ End Date │ End Time │ ╞══════════╪═════════════╪