Code:
SELECT
c.did,
c.cid,
c.title
e.did,
e.aid,
e.bid
FROM
c1 c
INNER JOIN
e1 e
ON
c.did = e.did
WHERE
c.cid > e.aid
AND
c.cid >e.bid



Kommentar