Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello!
I was wondering if there is a way to insert an 'OR' statement in a 'Group by' statement.
E.g.
load * inline [
name, location, team
a, london, red
b, london, green
c, manchester, red
d, london, blue]
group by
team = 'red'
or
team='blue';
Thanks!
'Group by' is typically used in conjunction with aggregation functions like SUM/AVG etc. When you are using load * inline then you don't need to group by the data.
What output are you looking to see?