<?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 Chethan on Medium]]></title>
        <description><![CDATA[Stories by Chethan on Medium]]></description>
        <link>https://medium.com/@proff.chethan?source=rss-4f555e0efd07------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*w8vJjvqpjG490dXDLEh7gw.png</url>
            <title>Stories by Chethan on Medium</title>
            <link>https://medium.com/@proff.chethan?source=rss-4f555e0efd07------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:26:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@proff.chethan/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[Essential MySQL: Exploring SELECT Queries]]></title>
            <link>https://medium.com/@proff.chethan/essential-mysql-exploring-select-queries-38c089a2aa09?source=rss-4f555e0efd07------2</link>
            <guid isPermaLink="false">https://medium.com/p/38c089a2aa09</guid>
            <category><![CDATA[select-queries]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[sql-beginner]]></category>
            <category><![CDATA[base-of-sql]]></category>
            <dc:creator><![CDATA[Chethan]]></dc:creator>
            <pubDate>Tue, 16 Sep 2025 06:14:02 GMT</pubDate>
            <atom:updated>2025-09-16T09:09:42.885Z</atom:updated>
            <content:encoded><![CDATA[<h4>Retrieve the example Table from <a href="https://github.com/proff-chethan/MySQL-Practice-Journal/blob/main/students_db/students_setup.sql">GitHub</a> and execute the SQL script in MySQL Workbench to setup the database.</h4><figure><img alt="A image of SQL text with its respected logos" src="https://cdn-images-1.medium.com/max/768/1*2uhu0bbT1RfqHbbfPo9IOg.jpeg" /></figure><h4>SELECT Query</h4><p>The <a href="https://dev.mysql.com/doc/refman/8.4/en/select.html">SELECT</a> query in SQL is used to retrieve data from one or more tables in a database.</p><blockquote><strong>SYNTAX</strong><br>SELECT column1, column2,… FROM table_name WHERE condition GROUP BY column HAVING condition ORDER BY column ASC|DESC</blockquote><h4>SELECT Query Syntax: Comprehensive Breakdown</h4><h3>SELECT</h3><blockquote>SELECT is a predefined SQL keyword used to retrieve data from one or more tables in database. It allows you to specify the columns [column1, column2,] you want to fetch or to retrieve all columns from a table, use the asterisk symbol *.</blockquote><h3>FROM</h3><blockquote>FROM is an SQL keyword used to specify the table from which data is retrieved.</blockquote><blockquote>Ex: SELECT * FROM students;</blockquote><h3>WHERE</h3><blockquote>WHERE is an SQL clause used to filter rows based on a specified condition applied to one or more columns.</blockquote><blockquote>Ex: SELECT * FROM students WHRER percentage &gt;= 35;</blockquote><h3>GROUP BY</h3><blockquote>GROUP BY is an SQL clause used to organize rows with the same values in specified column(s) into groups.</blockquote><blockquote>Ex: SELECT class_level, COUNT(student_name) FROM students GROUP BY class_level;</blockquote><h3>HAVING</h3><blockquote>HAVING is an SQL clause used to filter groups based on specified conditions, typically used in conjunction with GROUP BY.</blockquote><blockquote>Ex: SELECT class_level, class_section, COUNT(student_name) FROM students GROUP BY class_level, class_section HAVING COUNT(student_name) &gt; 20;</blockquote><h3>ORDER BY ASC | DESC</h3><blockquote>ORDER BY is an SQL clause used to sort the query result based on one or more specified columns in ascending (ASC) or descending (DESC) order.</blockquote><blockquote>Ex: SELECT class_level, class_section, COUNT(student_name) FROM students GROUP BY class_level, class_section ORDER BY class_level, class_section ASC;</blockquote><blockquote>Ex: SELECT class_level, class_section, COUNT(student_name) FROM students GROUP BY class_level, class_section ORDER BY class_level, class_section DESC;</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38c089a2aa09" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>