Hey there,
I have an SQL statement which I want to “translate” into CloverETL. So basically I have an SQL statement similar to:
Select
Professoren.persnr AS [Prof PersNr]
INTO
[Prof - Assistent]
FROM
Professoren
LEFT JOIN Assistenten
ON Boss
So I am a little bit stuck here. I tried to use official user guide and followed following approach:
1. Created DBInputTable containing SQL query:
SELECT * from professoren
2. Creating DBJoin with Join key persnr and SQL query
SELECT * from assistenten WHERE boss = ?
(Assistenten.boss is foreign key from Professoren.persnr)
3. Creating incoming edge into DBJoin w/ metadata from professoren containing only persnr
Creating outgoing edge from DBJoin w/ metadata from professoring containing only persnr
Note: I used same DB connection for DBInputTable and DBJoin. also have a look at database schema.
Thank in advance for any hint! I am really stuck on this one!