<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Data Modeling in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1165#M20</link>
    <description>&lt;P&gt;I have table A and Table&lt;/P&gt;&lt;P&gt;Table A has below data&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="179px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="81px"&gt;inv_name&lt;/TD&gt;&lt;TD width="98px"&gt;inv_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;1001A&lt;/TD&gt;&lt;TD width="98px"&gt;10000001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;1002b&lt;/TD&gt;&lt;TD width="98px"&gt;10000001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;AE-21F&lt;/TD&gt;&lt;TD width="98px"&gt;10000001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;1004D&lt;/TD&gt;&lt;TD width="98px"&gt;10000002&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;UZ-WTS&lt;/TD&gt;&lt;TD width="98px"&gt;100000002&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; TableB&lt;/P&gt;&lt;TABLE width="213px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="121px"&gt;pr_id&lt;/TD&gt;&lt;TD width="92px"&gt;sub_prd_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000001&lt;/TD&gt;&lt;TD width="92px"&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000001&lt;/TD&gt;&lt;TD width="92px"&gt;23456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000001&lt;/TD&gt;&lt;TD width="92px"&gt;13456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000001&lt;/TD&gt;&lt;TD width="92px"&gt;121212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000002&lt;/TD&gt;&lt;TD width="92px"&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000002&lt;/TD&gt;&lt;TD width="92px"&gt;23456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000002&lt;/TD&gt;&lt;TD width="92px"&gt;13456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000002&lt;/TD&gt;&lt;TD width="92px"&gt;121212&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i join table A(Child) with Table B(Parent) on inv_id = pr_id i'm getting i'm getting single parent record&amp;nbsp;&lt;/P&gt;&lt;TABLE width="348"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="70"&gt;inv_name&lt;/TD&gt;&lt;TD width="64"&gt;inv_id&lt;/TD&gt;&lt;TD width="64"&gt;pr_id&lt;/TD&gt;&lt;TD width="150"&gt;sub_prd_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AE-21F&lt;/TD&gt;&lt;TD&gt;10000001&lt;/TD&gt;&lt;TD&gt;10000001&lt;/TD&gt;&lt;TD&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i get all the sub_prd_id id details mapped each prd_name in incorta?&lt;/P&gt;&lt;P&gt;i'm getting it with materialised view , is there any other solution to achive it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2022 15:30:05 GMT</pubDate>
    <dc:creator>Naruto</dc:creator>
    <dc:date>2022-04-20T15:30:05Z</dc:date>
    <item>
      <title>Data Modeling</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1165#M20</link>
      <description>&lt;P&gt;I have table A and Table&lt;/P&gt;&lt;P&gt;Table A has below data&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="179px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="81px"&gt;inv_name&lt;/TD&gt;&lt;TD width="98px"&gt;inv_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;1001A&lt;/TD&gt;&lt;TD width="98px"&gt;10000001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;1002b&lt;/TD&gt;&lt;TD width="98px"&gt;10000001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;AE-21F&lt;/TD&gt;&lt;TD width="98px"&gt;10000001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;1004D&lt;/TD&gt;&lt;TD width="98px"&gt;10000002&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="81px"&gt;UZ-WTS&lt;/TD&gt;&lt;TD width="98px"&gt;100000002&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; TableB&lt;/P&gt;&lt;TABLE width="213px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="121px"&gt;pr_id&lt;/TD&gt;&lt;TD width="92px"&gt;sub_prd_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000001&lt;/TD&gt;&lt;TD width="92px"&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000001&lt;/TD&gt;&lt;TD width="92px"&gt;23456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000001&lt;/TD&gt;&lt;TD width="92px"&gt;13456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000001&lt;/TD&gt;&lt;TD width="92px"&gt;121212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000002&lt;/TD&gt;&lt;TD width="92px"&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000002&lt;/TD&gt;&lt;TD width="92px"&gt;23456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000002&lt;/TD&gt;&lt;TD width="92px"&gt;13456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="121px"&gt;10000002&lt;/TD&gt;&lt;TD width="92px"&gt;121212&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i join table A(Child) with Table B(Parent) on inv_id = pr_id i'm getting i'm getting single parent record&amp;nbsp;&lt;/P&gt;&lt;TABLE width="348"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="70"&gt;inv_name&lt;/TD&gt;&lt;TD width="64"&gt;inv_id&lt;/TD&gt;&lt;TD width="64"&gt;pr_id&lt;/TD&gt;&lt;TD width="150"&gt;sub_prd_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AE-21F&lt;/TD&gt;&lt;TD&gt;10000001&lt;/TD&gt;&lt;TD&gt;10000001&lt;/TD&gt;&lt;TD&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i get all the sub_prd_id id details mapped each prd_name in incorta?&lt;/P&gt;&lt;P&gt;i'm getting it with materialised view , is there any other solution to achive it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 15:30:05 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1165#M20</guid>
      <dc:creator>Naruto</dc:creator>
      <dc:date>2022-04-20T15:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data Modeling</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1166#M21</link>
      <description>&lt;P&gt;Looking at your table definitions which columns are defined as keys?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 16:06:44 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1166#M21</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2022-04-20T16:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Data Modeling</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1237#M22</link>
      <description>&lt;P&gt;i don't have any key columns in these table.&lt;/P&gt;&lt;P&gt;what i'm trying to achive is if there are multiple records for a single product_id , if i join the table with inv_id(have same value as product_id) , for a single inv_id has multiple items , how could we achive it with out bridge table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 15:58:34 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1237#M22</guid>
      <dc:creator>Naruto</dc:creator>
      <dc:date>2022-04-22T15:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data Modeling</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1238#M23</link>
      <description>&lt;P&gt;Ah - sorry - my first look at the table was too quick!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't believe you can force the Incorta query engine to do that between the two tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you pointed out you'll need an MV ( or maybe a derived table - I don't have access to an environment to do a quick test at the moment ).&lt;/P&gt;&lt;P&gt;You could write a SQL statement into a single Incorta table using a SQL Database source, but I'm not sure you'd see much advantage to doing that unless you truly are never going to need tables A and B.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 17:05:06 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1238#M23</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2022-04-22T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Data Modeling</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1246#M24</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/268"&gt;@Naruto&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Here are two other solutions in Incorta:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Optional 1:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Incorta SQL Table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suxinji_1-1650660073638.gif" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/749i9A2BEE0BCD262308/image-size/large?v=v2&amp;amp;px=999" role="button" title="suxinji_1-1650660073638.gif" alt="suxinji_1-1650660073638.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Optional 2:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Business Schema - SQL view&lt;/P&gt;
&lt;P&gt;This is a new feature in Incorta.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suxinji_0-1650659850375.gif" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/748iA31CE5C861596C31/image-size/large?v=v2&amp;amp;px=999" role="button" title="suxinji_0-1650659850375.gif" alt="suxinji_0-1650659850375.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here are the results:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-04-22 at 2.06.17 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/750i9D34C43D5288F31F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-04-22 at 2.06.17 PM.png" alt="Screen Shot 2022-04-22 at 2.06.17 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the above solutions, I'm using Incorta Cloud&amp;nbsp;Release: 2022.4.0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if these two solutions work for you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Feel free to let me know If you have any other questions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 21:32:35 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1246#M24</guid>
      <dc:creator>suxinji</dc:creator>
      <dc:date>2022-04-23T21:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data Modeling</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1250#M25</link>
      <description>&lt;P&gt;Thanks Suxinji for the solutions.&lt;/P&gt;&lt;P&gt;is there any possibility to do it with out Manual SQl?&lt;/P&gt;&lt;P&gt;what im looking is instead of using MV,Incorta_postges,incortaSql can we model the data(code free pipeline) to perform M:M relationship?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 17:48:26 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/data-modeling/m-p/1250#M25</guid>
      <dc:creator>Naruto</dc:creator>
      <dc:date>2022-04-24T17:48:26Z</dc:date>
    </item>
  </channel>
</rss>

