<?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 Cruze McFarlane  on Medium]]></title>
        <description><![CDATA[Stories by Cruze McFarlane  on Medium]]></description>
        <link>https://medium.com/@cruze.m.mcfarlane?source=rss-e40943bfcc76------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FNeMsc-7nEmJhok9RWZUIA.jpeg</url>
            <title>Stories by Cruze McFarlane  on Medium</title>
            <link>https://medium.com/@cruze.m.mcfarlane?source=rss-e40943bfcc76------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 21:23:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cruze.m.mcfarlane/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[Mastering SQL Joins: A Friendly Guide for Developers]]></title>
            <link>https://medium.com/@cruze.m.mcfarlane/mastering-sql-joins-a-friendly-guide-for-developers-395c992c43e1?source=rss-e40943bfcc76------2</link>
            <guid isPermaLink="false">https://medium.com/p/395c992c43e1</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[postgresql]]></category>
            <dc:creator><![CDATA[Cruze McFarlane ]]></dc:creator>
            <pubDate>Tue, 08 Apr 2025 02:41:21 GMT</pubDate>
            <atom:updated>2025-04-08T02:41:21.128Z</atom:updated>
            <content:encoded><![CDATA[<p>Whether you’re a backend developer or data analyst, understanding SQL joins is essential. Joins let you combine data from multiple tables — and once you understand how they work, you’ll write smarter, more efficient queries.</p><p>Let’s break it down with clean, readable examples.</p><h3>🧠 What is a SQL Join?</h3><p>A <strong>join</strong> in SQL links rows from two or more tables based on a related column between them. Usually, that’s a foreign key.</p><h3>🧩 Sample Tables</h3><p>We’ll use two tables throughout:</p><h3>Customers</h3><pre>+-------------+----------+<br>| customer_id | name     |<br>+-------------+----------+<br>| 1           | Alice    |<br>| 2           | Bob      |<br>| 3           | Charlie  |<br>+-------------+----------+</pre><h3>Orders</h3><pre>+----------+-------------+--------+<br>| order_id | customer_id | amount |<br>+----------+-------------+--------+<br>| 101      | 1           | 250    |<br>| 102      | 1           | 450    |<br>| 103      | 2           | 300    |<br>+----------+-------------+--------+</pre><h3>🔍 Types of Joins</h3><h3>1. INNER JOIN</h3><p>Returns rows with matching keys in both tables.</p><pre>SELECT Customers.name, Orders.amount<br>FROM Customers<br>INNER JOIN Orders ON Customers.customer_id = Orders.customer_id;</pre><p><strong>Result:</strong></p><pre>+--------+--------+<br>| name   | amount |<br>+--------+--------+<br>| Alice  | 250    |<br>| Alice  | 450    |<br>| Bob    | 300    |<br>+--------+--------+</pre><blockquote><em>Charlie is excluded — he has no orders.</em></blockquote><h3>2. LEFT JOIN (LEFT OUTER JOIN)</h3><p>Returns all rows from the left table, and matches from the right. Missing matches are NULL.</p><pre>SELECT Customers.name, Orders.amount<br>FROM Customers<br>LEFT JOIN Orders ON Customers.customer_id = Orders.customer_id;</pre><p><strong>Result:</strong></p><pre>+---------+--------+<br>| name    | amount |<br>+---------+--------+<br>| Alice   | 250    |<br>| Alice   | 450    |<br>| Bob     | 300    |<br>| Charlie | NULL   |<br>+---------+--------+</pre><h3>3. RIGHT JOIN (RIGHT OUTER JOIN)</h3><p>Returns all rows from the right table and matches from the left.</p><pre>SELECT Customers.name, Orders.amount<br>FROM Customers<br>RIGHT JOIN Orders ON Customers.customer_id = Orders.customer_id;</pre><p><strong>Result:</strong></p><pre>+--------+--------+<br>| name   | amount |<br>+--------+--------+<br>| Alice  | 250    |<br>| Alice  | 450    |<br>| Bob    | 300    |<br>+--------+--------+</pre><blockquote><em>Same as INNER JOIN here, but if you had orders with no valid </em><em>customer_id, they’d show too.</em></blockquote><h3>4. FULL OUTER JOIN</h3><p>Returns all rows from both tables. Fills gaps with NULL.</p><pre>SELECT Customers.name, Orders.amount<br>FROM Customers<br>FULL OUTER JOIN Orders ON Customers.customer_id = Orders.customer_id;</pre><p><strong>Result:</strong></p><pre>+---------+--------+<br>| name    | amount |<br>+---------+--------+<br>| Alice   | 250    |<br>| Alice   | 450    |<br>| Bob     | 300    |<br>| Charlie | NULL   |<br>+---------+--------+</pre><h3>5. CROSS JOIN</h3><p>Returns every combination of rows between the two tables.</p><pre>SELECT Customers.name, Orders.order_id<br>FROM Customers<br>CROSS JOIN Orders;</pre><p><strong>Result (3 × 3 = 9 rows):</strong></p><pre>+---------+-----------+<br>| name    | order_id  |<br>+---------+-----------+<br>| Alice   | 101       |<br>| Alice   | 102       |<br>| Alice   | 103       |<br>| Bob     | 101       |<br>| Bob     | 102       |<br>| Bob     | 103       |<br>| Charlie | 101       |<br>| Charlie | 102       |<br>| Charlie | 103       |<br>+---------+-----------+</pre><h3>🧠 Bonus: Aggregates + Joins</h3><p>Let’s see total spending per customer:</p><pre>SELECT C.name, SUM(O.amount) AS total_spent<br>FROM Customers C<br>LEFT JOIN Orders O ON C.customer_id = O.customer_id<br>GROUP BY C.name;</pre><p><strong>Result:</strong></p><pre>+---------+--------------+<br>| name    | total_spent  |<br>+---------+--------------+<br>| Alice   | 700          |<br>| Bob     | 300          |<br>| Charlie | NULL         |<br>+---------+--------------+</pre><h3>🏁 Final Thoughts</h3><p>Joins are the beating heart of relational data. Once you’re comfortable with them, you can combine, filter, and summarize data across multiple tables like a pro.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=395c992c43e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Your $3 Shein Top Just Got Taxed: How New Tariffs Are Wrecking Cheap Online Shopping]]></title>
            <link>https://medium.com/@cruze.m.mcfarlane/your-3-shein-top-just-got-taxed-how-new-tariffs-are-wrecking-cheap-online-shopping-80bb5cf48062?source=rss-e40943bfcc76------2</link>
            <guid isPermaLink="false">https://medium.com/p/80bb5cf48062</guid>
            <category><![CDATA[shein]]></category>
            <category><![CDATA[tariffs]]></category>
            <category><![CDATA[trump-trade-war]]></category>
            <dc:creator><![CDATA[Cruze McFarlane ]]></dc:creator>
            <pubDate>Mon, 07 Apr 2025 21:34:03 GMT</pubDate>
            <atom:updated>2025-04-07T21:34:03.739Z</atom:updated>
            <content:encoded><![CDATA[<p>Remember those $3 Shein tops and $2 Temu phone cases you’ve been casually adding to cart? Yeah… those just got slapped with a <strong>massive import fee</strong> — and no, it’s not a glitch.</p><p>As of May 2025, the U.S. has <strong>officially killed off the de minimis exemption</strong> — the quiet loophole that lets cheap Chinese goods sneak in duty-free. In its place? A brutal tariff: <strong>30% or $25 per item</strong>, whichever hits harder. And come June, that flat fee jumps to <strong>$50</strong>.</p><h3>Wait, What Even Was the De Minimis Rule?</h3><p>If you’ve ever wondered how your $12 Shein bundle shipped from Shenzhen straight to your doorstep with no extra fees or customs drama, here’s your answer: a trade rule that lets anything under $800 fly under the radar.</p><p>That ends now — at least if it’s coming from <strong>China</strong>.</p><h3>The Tariff Era Is Here</h3><p>Here’s what changed overnight:</p><ul><li><strong>All packages from China are now taxed</strong></li><li><strong>You’ll pay $25 per item (or 30% of its value) minimum</strong></li><li><strong>That rate doubles to $50 per item on June 1</strong></li><li><strong>Multiple packages = multiple fees</strong></li><li><strong>US Customs is now checking everything</strong></li></ul><p>In short? If you order two $5 necklaces from Shein, expect to pay more in fees than in fashion.</p><h3>Is Shein Still Worth It?</h3><p>Maybe. Maybe not.</p><p>Shein might absorb some of the costs… or they might not. Some orders could be rerouted through non-Chinese warehouses (hello, workaround), but even then, <strong>U.S. Customs is watching</strong>.</p><p>Bottom line: Your $30 order could suddenly cost $80 after tariffs and shipping. And don’t be surprised if your packages take longer to arrive — <strong>customs is swamped</strong>.</p><h3>What You Can Do</h3><ul><li><strong>Buy bigger hauls</strong>: One shipment = fewer per-item fees</li><li><strong>Look for U.S. warehouses</strong>: Some items now ship from domestic locations</li><li><strong>Switch platforms</strong>: Etsy and Amazon sellers may become more competitive</li><li><strong>Stay alert at checkout</strong>: If duties aren’t paid upfront, the post office will demand it</li></ul><h3>Fashion’s Plot Twist</h3><p>This isn’t just about clothes. This is about how the U.S. shops. Gen Z and Millennials helped turn Shein into a billion-dollar beast — now tariffs are forcing everyone to rethink that dopamine click-buy habit.</p><p>Is this the death of ultra-cheap fashion? Maybe. Or maybe it’s just a plot twist.</p><p>Either way, <strong>your cart just got a whole lot more expensive</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80bb5cf48062" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>