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 |
|
bluekite_11
Starting Member
4 Posts |
Posted - 2003-10-07 : 08:26:27
|
| I have ths one table which has columns like price and quantity.Now the thing i am unable to create a query using select sattement which gives me rows where the product of sum*price is greater that 1 lac.To make it simple i wanna rows where the value(price*quantity)>100000.ThnxMohan |
|
|
SamC
White Water Yakist
3467 Posts |
Posted - 2003-10-07 : 08:51:12
|
SELECT sum, price, sum*price as ProductFrom MyTableWHERE sum*price > 1 |
 |
|
|
bluekite_11
Starting Member
4 Posts |
Posted - 2003-10-07 : 09:11:56
|
| Thnx Sam |
 |
|
|
|
|
|