sql statement to access sql

Posted by Mitch Albert on Stack Overflow See other posts from Stack Overflow or by Mitch Albert
Published on 2012-12-18T11:00:11Z Indexed on 2012/12/18 11:03 UTC
Read the original article Hit count: 164

Filed under:
SELECT eventID,
       eventRedacteur,
       eventEvenement,
       eventGenreId,
       eventDatum,
       eventLocatieId,
       eventLocatieNaam,
       eventPlaatsId,
       eventBijzonderheden,
       eventBezoekers,
       lokId,
       lokNaam,
       lokUrl,
       pltsId,

  (SELECT pltsNaam
   FROM tblAgendaPlaatsen
   WHERE pltsId=tblAgendaPunten.eventPlaatsId) AS eventPlaatsNaam,

  (SELECT genreNaam
   FROM tblAgendaGenre
   WHERE genreId=tblAgendaPunten.eventGenreId) AS eventGenre,
       lokadres,
       lokhuisnr
FROM tblAgendaPunten
LEFT JOIN tblAgendaLocaties ON eventLocatieId=tblAgendaLocaties.lokId

i get a join not supported error. I also tryed to remake the sql in access, but no luck.

Anyone can help?

© Stack Overflow or respective owner

Related posts about sql