Alors comme promis mais avec un peu de retard, voilà mon code concernant ma requête :
public String[][] CellPlusDemandes(){
String[][] tabCellDemandes=null;
Statement pst = null;
try {
this.init();
pst = this.getMyConnection().createStatement();
} catch (SQLException e) {
e.printStackTrace();
}
ResultSet rsInfos = null;
try {
rsInfos = pst.executeQuery("select cell_id,count(cell_id) from info_extra_cartellini where idcartellino in(select idcartellino from cartellini where intercettazione in(select intercettazione from intercettazioni where decreto in(select decreto from intercettazioni where descrizione = '" + AccueilGeneral.tabDecoupe[4].toString() + "'))) group by cell_id order by count(cell_id) DESC");
} catch (SQLException e1) {
e1.printStackTrace();
}
try {
int i = 0;
rsInfos.last();
int num = rsInfos.getRow();
tabCellDemandes= new String[num][2];
rsInfos.first();
while(rsInfos.next()){
tabCellDemandes[i][0] = rsInfos.getString(1);
tabCellDemandes[i][1] = rsInfos.getString(2);
i = i + 1;
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
this.destroy();
return tabCellDemandes;
}
et voici la maniere dont je traite par la suite :
public void remplirTable(String[][] tabNum){
String[] tabEnTete = {"Cellule","total d'appel"};
tableCellules = new JTable(tabNum,tabEnTete);
scroll = new JScrollPane(tableCellules);
scroll.setVisible(true);
}
Voilà, j'espere que vous pourrez me donner un conseil!
Merci d'avance

(Si la réponse vous convient, appuyez sur réponse acceptée...).
Noubliez pas de lire le REGLEMENT