By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| GivenDay | OtherData | CODRPL | COD | BODRPL | BOD |
|---|---|---|---|---|---|
| Day1 | OtherData1 | < | 5 | 10 | |
| Day2 | OtherData2 | 20 | < | 30 |
| GivenDay | OtherData | RPL | Result |
|---|---|---|---|
| Day1 | OtherData1 | < | 5 |
| Day1 | OtherData1 | 10 | |
| Day2 | OtherData2 | 20 | |
| Day2 | OtherData2 | < | 30 |
| GivenDay | OtherData | Param | RPL | Result |
|---|---|---|---|---|
| Day1 | OtherData1 | COD | < | 5 |
| Day1 | OtherData1 | BOD | 10 | |
| Day2 | OtherData2 | COD | 20 | |
| Day2 | OtherData2 | BOD | < | 30 |
| GivenDay | OtherData | Param | RPL | Result |
|---|---|---|---|---|
| Day1 | OtherData1 | COD | < | 5 |
| Day2 | OtherData2 | COD | 20 | |
| Day1 | OtherData1 | BOD | 10 | |
| Day2 | OtherData2 | BOD | < | 30 |