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.
| Author |
Topic |
|
Rita Bhatnagar
Posting Yak Master
172 Posts |
Posted - 2001-06-13 : 10:33:52
|
| i have a query in accessSELECT WeightRec.CRID, First(WeightRec.Weight) AS FirstWeightFROM WeightRecGROUP BY WeightRec.CRID;and this is the table structure. WeightRecID CRID Weight1 2 1802 2 1853 41 1154 12 2005 12 1916 49 1957 49 1948 49 194.59 49 180i used this query for sqlserverSELECT WeightRec.CRID, min(WeightRec.Weight) AS FirstWeight FROM WeightRec GROUP BY WeightRec.CRIDbut i need first weight not the min so this query doesn't work.Any suggestions? |
|
|
|
|
|