I have a query that returns down hrs for different modules. I would like to add a field to this query and have the value be the down hrs if the value = a certain value. Very hard to explain please see the table below.
System - Module - HrsDown
1234 - Ch 1 - 1
1234 - Ch 2 - 1.5
1234 - Ch 3 - 0
1234 - Ch 4 - 3
So now I want to add a field Tothrs and I want it to add only if the module = Ch 3 and Ch 4
System - Module - HrsDown - Tothrs
1234 - Ch 1 - 1 3
1234 - Ch 2 - 1.5
1234 - Ch 3 - 0
1234 - Ch 4 - 3
System - Module - HrsDown
1234 - Ch 1 - 1
1234 - Ch 2 - 1.5
1234 - Ch 3 - 0
1234 - Ch 4 - 3
So now I want to add a field Tothrs and I want it to add only if the module = Ch 3 and Ch 4
System - Module - HrsDown - Tothrs
1234 - Ch 1 - 1 3
1234 - Ch 2 - 1.5
1234 - Ch 3 - 0
1234 - Ch 4 - 3