Categories
How to write such a query in SQL?
How to correctly display data from a range (10:15)
Answer the question
In order to leave comments, you need to log in
select n.NaklID from Nakl n join Nakllines nl on n.NaklID = nl.NaklID where nl.Article in (10, 15) and n.Data > '2021-07-20' group by n.NaklID having count(distinct nl.Article) = 2
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question