I have a table looking like below:
| MONTH_YEAR | STORE_ID | BOOLEAN |
|---|---|---|
| 01/07/2022 | A | FALSE |
| 01/07/2022 | A | FALSE |
| 01/07/2022 | A | FALSE |
| 01/07/2022 | A | FALSE |
| 01/08/2022 | A | TRUE |
| 01/08/2022 | A | FALSE |
| 01/08/2022 | A | TRUE |
| 01/08/2022 | A | FALSE |
| 01/08/2022 | B | TRUE |
| 01/08/2022 | B | TRUE |
| 01/08/2022 | B | TRUE |
| 01/08/2022 | B | FALSE |
And I would like to create a new table that returns TRUE() if any TRUE() is found per store and per month, so in my example would result in:
| MONTH_YEAR | STORE_ID | SUMMARY |
|---|---|---|
| 01/07/2022 | A | FALSE |
| 01/08/2022 | A | TRUE |
| 01/08/2022 | B | TRUE |
I am very new to this, so any help is appreciated :)
