Hi
I have asingle table with 3 columns - computer name, Network interface name, and status of the interface.
Each computer has exactly 2 interfaces (1 and 2), and the status of the Interface could be only UP or DOWN.
This is the table and my qestion bellow:
COMPUTER-NAME INTERFACE-NAME Status
Computer1 Ethernert1 Down
Computer2 Ethernert1 Down
Computer3 Ethernert1 Up
Computer1 Ethernert2 Down
Computer2 Ethernert2 UP
Computer3 Ethernert2 Down
I need a query that retreive only if exactly one interface (per computer) is down.
For example it the table bellow the query should retreive "Computer 2" and "Computer3"
But if both interfaces are DOWN (or up) the query should not retreive nothing.
Thanks