Multiple columns in a group by condition in sleep mode

How to make a Group on demand (for example, Select column1, column2, min (value) from Foo_Bar, where value> 100 group by (Column1, Column2) ) in sleep mode? I wanted to have multiple columns in a group using .

+3
source share
1 answer
select f.column1, f.column2, min(f.value)
from FooBar f
where f.value > 100
group by f.column1, f.column2
+7
source

All Articles