<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Data-Warehousing on blog.nath.page</title>
    <link>https://blog.nath.page/tags/data-warehousing/</link>
    <description>Recent content in Data-Warehousing on blog.nath.page</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 06 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.nath.page/tags/data-warehousing/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Basic SQL Tutorial</title>
      <link>https://blog.nath.page/posts/sql1/</link>
      <pubDate>Sun, 06 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.nath.page/posts/sql1/</guid>
      <description>&lt;p&gt;This tutorial focuses on SQL usage for data analysis (rather than transaction processing). DuckDB is the engine primarily used, so some commands might not work with SQLite and vice versa. Commands largely drawn from &lt;a href=&#34;https://www.dbvis.com/wp-content/uploads/2024/04/SQL-Cheat-Sheet.pdf&#34;&gt;https://www.dbvis.com/wp-content/uploads/2024/04/SQL-Cheat-Sheet.pdf&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;datasets&#34;&gt;Datasets&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Palmer Penguins,&lt;/li&gt;
&lt;li&gt;Chinook,&lt;/li&gt;
&lt;li&gt;Elevation of Indian Cities.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The raw datasets are located in &lt;code&gt;~/Datasets/Raw&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;set-1-loading-and-exporting&#34;&gt;Set 1: Loading and Exporting&lt;/h2&gt;
&lt;h3 id=&#34;loading-data&#34;&gt;Loading Data&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;cd to the Raw datasets folder.&lt;/li&gt;
&lt;li&gt;run &lt;code&gt;duckdb chinook.sqlite&lt;/code&gt;. this opens a duckdb command line with chinook loaded.&lt;/li&gt;
&lt;li&gt;run &lt;code&gt;describe;&lt;/code&gt; or &lt;code&gt;show;&lt;/code&gt; to see the tables and data types.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Alternatively,&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
