Dann versuch's damit:
BirgittaPHP-Code:
with x as (select x1 as xx1, x2 as xx2, count(x3) as AnzX3
from mytable
group by x1, x2
having count(X3) > 1)
select x1, x2, x3
from mytable join x on x1=xx1 and x2=xx2
| ||||
Thema: SQL AbfrageThreaded View
Similar Threads
|
Bookmarks