CASE WHEN "%HIV1%" = "Non-Reactive"
and "%HIV2%" <> "Reactive"
and "%HIV3%" <> "Reactive" then "Negative"
WHEN "%HIV1%" = "Reactive"
and "%HIV2%" <> "Non-Reactive"
and "%HIV3%" <> "Non-Reactive" then "Positive"
else CASE WHEN "%HIV2%" = "Reactive" and "%HIV3%" = "Reactive" then "Positive"
else "Inconclusive"
end
end
/*
https://codebeautify.org/sqlformatter/y23e67982
*\
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter