Skip to content
Advertisement

How to select rows from table where group does not contain value

I have a table that contains the following fields:

Thedate,Thetime,Course,OR,L1R,L2R,L3R

I would like to only return values if a group (Thetime) does not contain the value “0” in L3Ra column.

I have tried the following statement but it only removes those values that contain the “0” where I would like to remove the whole group

What i would like to do is remove any groups (Thetime) that contain a “0” in the L3R column.

Would become:

because the group 12:00 contains a “0” in LR3

Advertisement

Answer

You could use this:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement