I have a question about assembling a select.
I have 3 tables that relate M: N as follows:
CurrentlyI'musingthissql:
selectp.descricao,(selectdescricaofromitemwhereitem.codigo=c.codigoItem)asitemsfromprodutopinnerjoincomposicaoconc.codigoProduto=p.codigoinnerjoinitemioni.codigo=c.codigoItemorderbyp.codigo
andtheresultlookslikethis:
Doyouhaveanyfunctiontosetagroupbyorwouldyouhavetomountastoredprocedure?AtfirstI'msolvingtheissueofdirectdisplayinJava,testingwhethereachiterationtheproductisthesame.