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 |
|
chiragkhabaria
Master Smack Fu Yak Hacker
1907 Posts |
Posted - 2005-04-28 : 07:44:09
|
Hi AllIs there any way i can use the Alias name in where clause. for egSelect Sum(ActCost) - Sum(SaleCost) as SalesDiff From SalesInventory Where SalesDiff >1000hope to get some comment on same. Complicated things can be done by simple thinking |
|
|
mr_mist
Grunnio
1870 Posts |
Posted - 2005-04-28 : 07:58:37
|
| Only if you make it a derived table whatsit.select * from (select blah - blah as moo) b order by blah-------Moo. :) |
 |
|
|
|
|
|