UIPEthernet server client

Is it possible to use UIPEthernet's client and server example at the same time? Iam currently using the uipethernet client example. It can successfully send data from arduino to database. Is it possible to retrieve the value from database as input/varible into my arduino? I can successfully update the values in my sql database but i can't retrieve data from it. For example I have a table named arduino and it has a column "LED_status", if the value of LED_status is equal to 1 the LED should turn off and if is equal to 0 the LED should turn on.