How to grouped data assigned as 0 or 1?

后端 未结 0 2021
花落未央
花落未央 2021-02-08 12:01

I want to group the dataset by name and if the same name includes at least one 0 in the response column, I want to assign it as 0 else 1. Please see the data and output.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题