Can you help me please? Trying to select those article numbers and pic paths that has the picture (some of them are without but it is not null). Is there some HAVING condition I can write? Or maybe just AND condition?
select a.artnr, p.path
from article a, photo p
where a.artnr = p.photo_nr
having ...and ...(?);

FROMclause. Always use proper, explicit, standard, readableJOINsyntax.