Мне нужна ваша помощь насчет связи между 3 таблицами.Я хотел бы вдохновить этот код в Java.
ResultSet resu = ConnexionMySQL.getInstance().selectQuery (req);
try {
while (resu.next())
{
myList.add (new Collabo(resu.getInt("IdOrg"),
new Album(resu.getString("CodeA"), resu.getString("TitreA"),
new Chanteur (resu.getInt("IdentC"),resu.getString("IdentC")),
resu.getDate("DateArrivee"))));
}
}
Я просто знаю, чтобы сейчас объединить 2 таблицы
Select IdOrg, A.CodeA
from collabo A, album C
where A.CodeA = C.CodeA order by 1
