Re: WB12 : Requete multifichier => Problème ! |
Sujet: Re: WB12 : Requete multifichier => Problème ! par fucce sur 7/8/2008 11:07:46 Moi je dirai la proposition 1) avec une petite modif : SELECT Doc.Nodoc AS Nodoc, Doc.titre AS titre, Doc.sstitre AS sstitre, Collec.Collection AS Collection FROM Collec, Doc WHERE Doc.nocolle = Collec.IDCollec AND Collec.Collection LIKE %{cColl}% AND Doc.titre LIKE %{cTitre}% Pour la solution 2) : SELECT Doc.Nodoc AS Nodoc, Doc.titre AS titre, Doc.sstitre AS sstitre, Collec.Collection AS Collection FROM Collec INNER JOIN Doc ON Doc.nocolle = Collec.IDCollec WHERE Collec.Collection LIKE %{cColl}% AND Doc.titre LIKE %{cTitre}% |