<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pi.sornram on Medium]]></title>
        <description><![CDATA[Stories by Pi.sornram on Medium]]></description>
        <link>https://medium.com/@pi.sornram?source=rss-ae572c29fef8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Pi.sornram on Medium</title>
            <link>https://medium.com/@pi.sornram?source=rss-ae572c29fef8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 03:16:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pi.sornram/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ลองเล่น Iceberg แบบ Super simple]]></title>
            <link>https://medium.com/@pi.sornram/%E0%B8%A5%E0%B8%AD%E0%B8%87%E0%B9%80%E0%B8%A5%E0%B9%88%E0%B8%99-iceberg-%E0%B9%81%E0%B8%9A%E0%B8%9A-super-simple-fa0b1021bca5?source=rss-ae572c29fef8------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa0b1021bca5</guid>
            <dc:creator><![CDATA[Pi.sornram]]></dc:creator>
            <pubDate>Wed, 06 Nov 2024 03:45:48 GMT</pubDate>
            <atom:updated>2024-11-06T03:45:48.886Z</atom:updated>
            <content:encoded><![CDATA[<p>Environment</p><p>CDP 7.1.9 SP1</p><ol><li>Create table as select feature</li></ol><figure><img alt="Create table as select feature" src="https://cdn-images-1.medium.com/max/940/1*_lbGBSw4xxKMSIG13vwr-w.png" /></figure><pre>CREATE TABLE ctas STORED BY ICEBERG AS SELECT * FROM employees;</pre><p>2. select table ctas</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wdJ7XEh2-jd2no5qyC4sDw.png" /></figure><pre>SELECT * FROM ctas;</pre><p>3. ทดลอง insert data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vofZYGQl5WKhrLIlm97VyA.png" /></figure><pre>INSERT INTO ctas VALUES (007, &#39;MOS007&#39;, &#39;TH&#39;, &#39;OO&#39;, 100);</pre><p>4. Select a table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vofZYGQl5WKhrLIlm97VyA.png" /></figure><pre>SELECT * FROM ctas;</pre><p>5. ทดลอง History interval time 2 days</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5yiUvSJMjsR-mc_3Rir4sg.png" /></figure><p>6. ทดลอง Time travel ไปก่อนที่จะ insert data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hjPQtl1n0643yXk5z3ihAw.png" /></figure><p>จะเห็นว่าหลังจากลอง Select Time travel กลับไปจะพบแค่ 3 rows ก่อน insert data</p><p>The End. สวัสดีครับ</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa0b1021bca5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>