SQL or AE script method of getting all clients across levels

Discussion created by Michael_Coxson_5769 on Jan 8, 2017
Latest reply on Jan 9, 2017 by Michael_Coxson_5769
I'm setting up a few maintenance processes and would like to be able to act of each client on a given level. Is there a way to get a list of clients using either SQL or AE scripting without having direct access to client 0?