// calling the server
DQSPServer s = new DQSPServerI();
// getting a connection with database
Connection con = DBConnexion.getConnection();
for (String st : s.listOfAirports()) {
if (s.numberOfPassengers(st) != 0) {
try {
PreparedStatement ps = con
.prepareStatement("SELECT count(*) num, MONTH(r.`date`) mois, YEAR(r.`date`) annee FROM reclamation r WHERE r.`nomAeroport`=? AND YEAR(r.`date`)=? AND r.`remarque`=?");
ps.setString(1, st);