Hi,
Table 1: Query Result
| workflow | complaint | status | is_onsite |
| 1 | 1 | Active | 0 |
| 1 | 1 | Cancel | 1 |
Table 2: Expecting
| Workflow | complaint | true |
| 1 | 1 | yes |
in Table 1, if any one row having is_onsite =1 then i have to consider that particular complaint as true
| workflow | complaint | status | is_onsite |
| 1 | 1 | Active | 0 |
| 1 | 1 | Cancel | 1 |
| Workflow | complaint | true |
| 1 | 1 | yes |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Laxmidhar SahooRank #383 · 6.6K reputationPosted Dec 11, 2017, 2:11 AM EST
Ramesh PalanivelRank #372 · 6.8K reputationPosted Dec 10, 2017, 10:01 PM EST