Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
SQL 101 - first chapter :)SELECT FILE, MIN(serial_start) AS Serial_start, MAX(serial_end) as serial_endFROM YourTableGROUP BY FILE
sqlbug
Posting Yak Master
201 Posts
Posted - 2010-05-18 : 17:47:22
Oh, I tried that and had some errors or wrong data - so I got confused and was trying other things. I think I was trying wrong fields in the GROUP BY.Thanks.