Introduction - If you have any usage issues, please Google them yourself
A client passes the parameter to server, server creates a query and passes it to the dataserver, dataserver processes the query a return the result back to the server, server will process the result add some essential tags like no of rows or columns etc and send it back to the client.