I’d appreciate some help with following query.. I have a table as below,
UID | Status | Msg_Id | Msg_Id_type 1 | START | AA | GLOBAL 2 | END | AA | GLOBAL 3 | PROC | AA | GLOBAL 4 | START | BB | GLOBAL 5 | START | CC | GLOBAL 6 | START | DD | GLOBAL 7 | END | DD | GLOBAL
What I’d like to achieve is SELECT only those records, that do not have any other STATUS than “START” for a given MSG_ID or all records that do not have any other STATUS except “START”. Thanks much for the help.
This will give you all msg_ids that have only START as their status.