Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

[newbie] normalise a one to many relationship

$
0
0
Hello,
I have a table like this:

Name OtherData Attr1 Value1 Attr2 Value2
Foo xxx red 1 green 2
Bar yyy blue 3 orange 4

IT is a one to many relationship denormalised.

I need to create two tables:

id Name OtherData
1 Foo xxx
2 Bar yyy

Attr Value fk
red 1 1
green 2 1
blue 3 2
orange 4 2

Can I do it with PDI?
How? (Please tell me which steps I should use)

Thanks,
Mario

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>