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 |
|
sgw1963
Starting Member
6 Posts |
Posted - 2001-02-05 : 12:32:11
|
| I have a query where i am the showing the ave #of animals per herd, but the decimal is 13 places long. How do I get it down to one? EX. 45.2Select Technician.'Region', Count(Hrdgen.HerdCode) as NumHerds, Sum(Hrdgen.CowsInHerd) as NumCows, Avg(Hrdgen.CowsInHerd) as CowsPerHerdFrom Technician, HrdgenWhere Cast(Hrdgen.Technician as Smallint) = Technician.'Tech Number'AND Technician.Status <> 'T'AND Hrdgen.QuitReason is NULLGroup By RegionOrder By Region |
|
|
|
|
|