Created response from MySQL queries.