<?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 Re: remove synthetic keys in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/remove-synthetic-keys/m-p/2008033#M83397</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hic_0-1669195702237.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94390i6B96A079F6563638/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hic_0-1669195702237.png" alt="hic_0-1669195702237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Impossible, unless one understands the logic of the data.&lt;/P&gt;&lt;P&gt;But let's make some assumptions, some guesses and ask some questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;There are a number of cars that are rented. There should be a Car table, with one record per car, and a CarID. Is this the table now called CarRent?&lt;/LI&gt;&lt;LI&gt;Each car has an owner, and one owner can own several cars. The CarOwner table should contain one record per person, and a field CarOwnerID. The Car table should contain the CarOwnerID.&lt;/LI&gt;&lt;LI&gt;Each car can be rented multiple times. The Booking table should contain one record per rental occasion, and a BookingID. It should also contain both the CarID and the CustomerID.&lt;/LI&gt;&lt;LI&gt;The customers are stored in the Customer table. CarOwner and Customer are not the same thing. Then all the links between these two tables must be removed, e.g. LastName cannot be called LastName in both tables.&lt;/LI&gt;&lt;LI&gt;Each booking can have multiple reviews, stored in the Reviews table. This table should contain the BookingID.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So, remove ALL current keys, and introduce CarOwnerID, CarID, CustomerID, BookingID and ReviewID. No other keys should be present.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 09:32:20 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2022-11-23T09:32:20Z</dc:date>
    <item>
      <title>remove synthetic keys</title>
      <link>https://community.qlik.com/t5/App-Development/remove-synthetic-keys/m-p/2007996#M83396</link>
      <description>&lt;P&gt;Anyone please remove synthetic keys from this applcation&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 08:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/remove-synthetic-keys/m-p/2007996#M83396</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2022-11-23T08:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: remove synthetic keys</title>
      <link>https://community.qlik.com/t5/App-Development/remove-synthetic-keys/m-p/2008033#M83397</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hic_0-1669195702237.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94390i6B96A079F6563638/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hic_0-1669195702237.png" alt="hic_0-1669195702237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Impossible, unless one understands the logic of the data.&lt;/P&gt;&lt;P&gt;But let's make some assumptions, some guesses and ask some questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;There are a number of cars that are rented. There should be a Car table, with one record per car, and a CarID. Is this the table now called CarRent?&lt;/LI&gt;&lt;LI&gt;Each car has an owner, and one owner can own several cars. The CarOwner table should contain one record per person, and a field CarOwnerID. The Car table should contain the CarOwnerID.&lt;/LI&gt;&lt;LI&gt;Each car can be rented multiple times. The Booking table should contain one record per rental occasion, and a BookingID. It should also contain both the CarID and the CustomerID.&lt;/LI&gt;&lt;LI&gt;The customers are stored in the Customer table. CarOwner and Customer are not the same thing. Then all the links between these two tables must be removed, e.g. LastName cannot be called LastName in both tables.&lt;/LI&gt;&lt;LI&gt;Each booking can have multiple reviews, stored in the Reviews table. This table should contain the BookingID.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So, remove ALL current keys, and introduce CarOwnerID, CarID, CustomerID, BookingID and ReviewID. No other keys should be present.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 09:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/remove-synthetic-keys/m-p/2008033#M83397</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-11-23T09:32:20Z</dc:date>
    </item>
  </channel>
</rss>

