<?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>SQL on Piyush Patel</title><link>https://piyushpatel.vercel.app/categories/sql/</link><description>Recent content in SQL on Piyush Patel</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2023-2025 Piyush Patel. All Rights Reserved.</copyright><lastBuildDate>Thu, 09 May 2024 10:07:09 -0400</lastBuildDate><atom:link href="https://piyushpatel.vercel.app/categories/sql/index.xml" rel="self" type="application/rss+xml"/><item><title>Resolve Maven Error Invalid Target Release 17</title><link>https://piyushpatel.vercel.app/blog/bigquery-least-greatest-vs-spark/</link><pubDate>Thu, 09 May 2024 10:07:09 -0400</pubDate><guid>https://piyushpatel.vercel.app/blog/bigquery-least-greatest-vs-spark/</guid><description><![CDATA[<p>BigQuery has <code>LEAST</code> and <code>GREATEST</code> functions which can be used to find minimum and maximum value across multiple columns. This can be handy when you&rsquo;re building user&rsquo;s spend progression or user&rsquo;s order counts etc. You always want to find the latest order amount from the user.</p>]]></description></item></channel></rss>