![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I need your help. I wrote following query: select NODE, PORT, MTIME, VALUE_A, VALUE_B, VALUE_C from TABLE where (NODE, PORT) in (*****) (select NODE, PORT from TABLE where ( VALUE_A > 0 or VALUE_B > 0 or VALUE_C > 0 ) and MTIME >=dateadd(day,-5,getdate()) group by NODE, PORT having count(*)>4 ) What is wrong? Maybe (*****) ? Thank you for your help. michael |
![]() |
| Thread Tools | |
| Display Modes | |
| |