Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Multiplying 2 columns and filtered by a 3rd
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 08/07/2014 :  17:27:06  Show Profile  Reply with Quote
I am trying to multiply 2 columns and filtered by a 3rd but havent had any luck.

Almighty SQL Goddess

38200 Posts

Posted - 08/07/2014 :  17:29:35  Show Profile  Visit tkizer's Homepage  Reply with Quote
Please post your question like this:

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page

Bustaz Kool
Flowing Fount of Yak Knowledge

1834 Posts

Posted - 08/08/2014 :  10:44:02  Show Profile  Reply with Quote
select Price * SalesTax as AdjustedPrice
from MyTable
where State = 'CA'
??? (Not clear what you mean by "filtered")

Too often we enjoy the comfort of opinion without the discomfort of thought. - John F. Kennedy
Go to Top of Page

Posting Yak Master

114 Posts

Posted - 08/09/2014 :  10:53:45  Show Profile  Reply with Quote
Do you mean GROUP BY? If so the GROUP BY column does not need to be included in the SELECT statement.

Jr Programmer
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000