<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Martin</title>
    <description>The latest articles on DEV Community by Martin (@martinl5).</description>
    <link>https://dev.to/martinl5</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3970629%2F57d46621-101d-4087-894a-c8e80d7218fe.jpeg</url>
      <title>DEV Community: Martin</title>
      <link>https://dev.to/martinl5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/martinl5"/>
    <language>en</language>
    <item>
      <title>I built a free SQL practice game where you work at a fictional Singapore bank</title>
      <dc:creator>Martin</dc:creator>
      <pubDate>Sat, 06 Jun 2026 03:02:22 +0000</pubDate>
      <link>https://dev.to/martinl5/i-built-a-free-sql-practice-game-where-you-work-at-a-fictional-singapore-bank-4728</link>
      <guid>https://dev.to/martinl5/i-built-a-free-sql-practice-game-where-you-work-at-a-fictional-singapore-bank-4728</guid>
      <description>&lt;p&gt;I've been frustrated with SQL learning resources for a while. Most are either:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dry reference docs&lt;/li&gt;
&lt;li&gt;Toy exercises with no context ("SELECT * FROM employees")&lt;/li&gt;
&lt;li&gt;Paid platforms with paywalls after level 3&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://sqlwak.vercel.app" rel="noopener noreferrer"&gt;SQLwak&lt;/a&gt;&lt;/strong&gt; — a free, browser-based SQL game where you're hired as a Graduate Analyst at &lt;strong&gt;Lion City Bank&lt;/strong&gt;, a fictional Singapore bank.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;Instead of abstract exercises, every challenge is a real business request from a colleague:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"The Operations team needs all Central region branches for an upcoming audit."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Risk wants customers with credit scores below 600 who have active loans."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Finance needs vessels ranked by cargo revenue — use window functions."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You write actual SQL against a realistic 9-table banking database and get immediate feedback.&lt;/p&gt;

&lt;h2&gt;
  
  
  57 levels across 4 tiers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tier&lt;/th&gt;
&lt;th&gt;Skills&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🟢 Foundational&lt;/td&gt;
&lt;td&gt;SELECT, WHERE, ORDER BY, LIMIT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🟡 Intermediate&lt;/td&gt;
&lt;td&gt;JOINs, GROUP BY, HAVING, subqueries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🔴 Advanced&lt;/td&gt;
&lt;td&gt;CTEs, multi-table aggregations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;⚫ Expert&lt;/td&gt;
&lt;td&gt;Window functions (RANK/DENSE_RANK OVER PARTITION BY), UNION ALL, compound CTEs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The database schema
&lt;/h2&gt;

&lt;p&gt;Lion City Bank has two divisions:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Retail Banking:&lt;/strong&gt; customers, accounts, transactions, loans, branches, products&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Maritime Trade Finance&lt;/strong&gt; (Advanced/Expert levels): vessels, cargo_shipments, trade_finance_facilities — covering voyages between Singapore, Port Klang, Bangkok, Jakarta, and Ho Chi Minh City.&lt;/p&gt;

&lt;p&gt;The maritime division exists because Singapore is a major trade hub. It makes the Expert levels genuinely interesting — you're ranking vessels by cargo revenue and analyzing trade finance utilisation rates, not just counting rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical details
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js 15&lt;/strong&gt; + TypeScript + Tailwind CSS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQLite via WebAssembly&lt;/strong&gt; — all query execution is client-side, no backend needed&lt;/li&gt;
&lt;li&gt;Deployed on &lt;strong&gt;Vercel&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Fully open source: &lt;a href="https://github.com/martinl5/sqlwak" rel="noopener noreferrer"&gt;github.com/martinl5/sqlwak&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  No signup. No download. Just SQL.
&lt;/h2&gt;

&lt;p&gt;Open the link and start writing queries: &lt;strong&gt;&lt;a href="https://sqlwak.vercel.app" rel="noopener noreferrer"&gt;sqlwak.vercel.app&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback on difficulty progression, new level ideas, or schema additions. What SQL concepts do you wish you'd practiced more before your first data job?&lt;/p&gt;

</description>
      <category>sql</category>
      <category>database</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
