Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Select across columns based on data

$
0
0
In Access, have a table with products and several columns for profit during a month, which may or may not be a positive number. For example:

productID Jan Feb Mar Apr
Widget1 42.50 -12.10 -1.35 34.23
Widget2 45.00 12.23 -23.10 18.55

Trying to create a query that will return productID for ONLY those that have more than one month in negative numbers. So, above, would return Widget1 but not Widget2.

Probably a GroupBy issue. Thank you in advance.

Carlco

Viewing all articles
Browse latest Browse all 13329

Trending Articles