Thanks, nice, a smooth solution!
As I mentioned earlier, I want to show pictures for each article. Each article has several images attached to it, and is retrieved from the bucImages table. But the problem now is that all the articles are repeated as many times as there are pictures for it, and show the different pictures. Now I want instead, that only one of these pictures should be shown to the article. Maybe you can use some kind of random function - so different images for the same article are displayed at different times. But it is not necessary. The main thing is that the articles are not repeated.
I have tried with "...WHERE bucImages.ima_bucID IS NULL" at the end of the query, but get error message.