Hello,
I want to create some KPI widgets for the basic node information (count) (node down, node up, warning etc.). I have multiple Clients and I just want to specify to show me a client (all nodes, dropped nodes, uploaded nodes).
the code I'm using is to count all the nodes. however, I only want it to count the nodes of a single client. (All nodes, Nodes Down, Nodes Up)

these are my codes, I would like you to help me
All nodes:
select count(1) as countnodes from orion.nodes
Nodes Down:
select count(1) as countnodes from orion.nodes where status <>1
Nodes Up:
select count(1) as countnodes from orion.nodes where status =1