<?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 G Satvika Reddy on Medium]]></title>
        <description><![CDATA[Stories by G Satvika Reddy on Medium]]></description>
        <link>https://medium.com/@satvikareddy?source=rss-4ef108ff5584------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*k_7FtoYNBMggA6VGmCUUTQ@2x.jpeg</url>
            <title>Stories by G Satvika Reddy on Medium</title>
            <link>https://medium.com/@satvikareddy?source=rss-4ef108ff5584------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 00:05:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@satvikareddy/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[Complete guide to MySQL (Part 1)]]></title>
            <link>https://medium.com/cosc/complete-guide-to-mysql-part-1-bf22bc05cb29?source=rss-4ef108ff5584------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf22bc05cb29</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[ddl]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[G Satvika Reddy]]></dc:creator>
            <pubDate>Thu, 20 May 2021 04:19:31 GMT</pubDate>
            <atom:updated>2021-05-20T04:19:31.928Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UfyrhwXucKUQNRJt9WeY8w.png" /></figure><blockquote><em>Welcome to a series on MySQL! In this part of our series, we’ll be going over Data Definition Language and something that’s often overlooked, but important nonetheless — data types. But before we jump into the details lets understand what MySQL is!</em></blockquote><ul><li><strong>MySQL</strong> is a relational database management system based on the Structured Query Language, which is the popular language for accessing and managing the records in the database.</li><li>MySQL is open-source and free software under the GNU license.</li><li>It is supported by Oracle Company.</li><li>It follows the working of Client-Server Architecture.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*hoBEyJ7E0msiAU8MfoLhsw.png" /><figcaption>Client-Server Architecture</figcaption></figure><p><strong>What is Database?</strong></p><ul><li>It is an application that stores the organised collection of records.</li><li>It allows us to organise data into tables, rows, columns, and indexes to find the relevant information very quickly.</li><li>Examples : MySQL, Sybase, Oracle, MongoDB, PostgreSQL, SQL Serve</li></ul><p><strong>What can be done using MySQL?</strong></p><ul><li>It allows us to implement database operations on tables, rows, columns, and indexes.</li><li>It defines the database relationship in the form of tables (collection of rows and columns), also known as relations.</li><li>It provides the Referential Integrity between rows or columns of various tables.</li><li>It allows us to update the table indexes automatically.</li><li>It uses many SQL queries and combines useful information from multiple tables for the end-users.</li></ul><p><strong><em>Fun Fact : </em></strong><em>“MySQL is named after the daughter of co-founder Michael Widenius whose name is “My”.”</em></p><p><strong>Features of MySQL:</strong></p><ul><li>Easy to use</li><li>It’s secure</li><li>Client-Server Architecture</li><li>Free to download</li><li>It is scalable</li><li>Speed</li><li>High flexibility</li><li>Compatible on any operating system</li><li>Allows rollback</li><li>Memory efficiency</li><li>High performance</li><li>High productivity</li><li>GUI support</li></ul><p><strong>But there are few disadvantages too!</strong></p><ul><li>MySQL version less than 5.0 doesn’t support ROLE, COMMIT, and stored procedure.</li><li>It does not support a very large database size as efficiently.</li><li>It doesn’t handle transactions very efficiently, and it is prone to data corruption.</li><li>It is accused that it doesn’t have a good developing and debugging tool compared to paid databases.</li><li>It doesn’t support SQL check constraints.</li></ul><h4><strong><em>Download MySQL from </em></strong><a href="https://dev.mysql.com/downloads/installer/"><strong><em>https://dev.mysql.com/downloads/installer/</em></strong></a></h4><p>Now lets talk about the various Data Types that are accepted in MySQL</p><h3><strong>Data Types:</strong></h3><ul><li>It specifies a particular type of data.</li><li>It also identifies the possible values for that type, the operations that can be performed on that type, and the way the values of that type are stored.</li></ul><h4><strong><em>Numeric data type:</em></strong></h4><ul><li><strong>TINYINT</strong></li></ul><p>— signed (-128 to 127)</p><p>— unsigned (0 to 255)</p><p>— Takes 1 byte for storage</p><ul><li><strong>SMALLINT</strong></li></ul><p>— signed (-32768 to 32767)</p><p>— unsigned (0 to 65537)</p><p>— Takes 2 bytes of storage</p><ul><li><strong>BIGINT</strong></li></ul><p>— signed (-9223372036854775808 to 9223372036854775807)</p><p>— unsigned (0 to 18446744073709551615)</p><p>— Takes 8 bytes of storage</p><ul><li><strong>FLOAT</strong></li></ul><p>— It is a floating-point number that cannot be unsigned.</p><p>— Takes 2 bytes for storage</p><ul><li><strong>DOUBLE</strong></li></ul><p>— It is a double-precision floating-point number</p><p>— Cannot be unsigned</p><p>— Takes 8 bytes for storage</p><ul><li><strong>DECIMAL</strong></li></ul><p>— An unpacked floating-point number that cannot be unsigned.</p><p>— In unpacked decimals, each decimal corresponds to one byte.</p><ul><li><strong>BIT</strong></li></ul><p>— Used for storing bit values into the table column.</p><p>— Range of 1 to 64</p><ul><li><strong>BOOL</strong></li></ul><p>— Used only for the true and false condition.</p><p>— It considers numeric value 1 as true and 0 as false.</p><ul><li><strong>BOOLEAN</strong></li></ul><p>— Same as bool</p><h4><strong>Date and time data type</strong></h4><ul><li><strong>YEAR[(2|4)</strong>] :</li></ul><p>— Year value as 2 digits or 4 digits.</p><p>— The default is 4 digits.</p><p>— It takes 1 byte for storage.</p><ul><li><strong>DATE</strong>:</li></ul><p>— Displayed as ‘yyyy-mm-dd’.</p><p>— It takes 3 bytes for storage</p><ul><li><strong>TIME</strong>:</li></ul><p>— Displayed as ‘HH:MM:SS’.</p><p>— It takes 3 bytes plus fractional seconds for storage.</p><ul><li><strong>DATETIME</strong>:</li></ul><p>— Displayed as ‘yyyy-mm-dd hh:mm:ss’.</p><p>— It takes 5 bytes plus fractional seconds for storage.</p><ul><li><strong>TIMESTAMP(m)</strong>:</li></ul><p>— Displayed as ‘YYYY-MM-DD HH:MM:SS’.</p><p>— It takes 4 bytes plus fractional seconds for storage.</p><h4><strong>String data type:</strong></h4><p>It is used to hold plain text and binary data</p><ul><li><strong>CHAR(size)</strong>:</li></ul><p>— Size is the number of characters to store.</p><p>— Maximum size = 255 characters</p><p>— Fixed-length strings.</p><ul><li><strong>VARCHAR(size)</strong>:</li></ul><p>— Variable-length string</p><p>— size is the number of characters to store.</p><p>— Maximum size = 255 characters</p><ul><li><strong>TEXT(size)</strong>:</li></ul><p>— Maximum size of 65,535 characters.</p><ul><li><strong>MEDIUMTEXT(size)</strong>:</li></ul><p>— Maximum size of 16,777,215 characters</p><ul><li><strong>LONGTEXT(size)</strong>:</li></ul><p>— Maximum size of 4GB or 4,294,967,295 characters</p><ul><li><strong>BINARY(size)</strong>:</li></ul><p>— Size is the number of binary characters to store.</p><p>— Fixed length strings</p><p>— Maximum upto 255 characters</p><ul><li><strong>VARBINARY(size)</strong>:</li></ul><p>— Variable length string</p><p>— Maximum upto 255 characters</p><ul><li><strong>ENUM</strong>:</li></ul><p>— It is short for enumeration, which means that each column may have one of the specified possible values.</p><p>— It uses numeric indexes (1, 2, 3…) to represent string values.</p><p>— takes 1 or 2 bytes</p><p>— maximum of 65,535 values.</p><ul><li><strong>SET</strong>:</li></ul><p>— It can hold zero or more, or any number of string values.</p><p>— They must be chosen from a predefined list of values specified during table creation.</p><p>— Takes 1, 2, 3, 4, or 8 bytes that depends on the number of set members.</p><p>— It can store a maximum of 64 members.</p><p><strong>DATA DEFINITION LANGUAGE (DDL):</strong></p><p>It deals with database schemas and descriptions of how the data should reside in the database.</p><ol><li><strong>CREATE</strong>:</li></ol><ul><li>To create a database and its objects like (table, index, views, store procedure, function, and triggers)</li></ul><p><em>Query Syntax:</em></p><p>CREATE TABLE [IF NOT EXISTS] table_name(</p><p>col_1 datatype,</p><p>col_2 datatype,</p><p>……..,</p><p>table_constraints</p><p>);</p><p><em>Query:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/0*bp0ew6fz1i2lzP3o" /></figure><p>Output:</p><p>Table Created</p><p><strong>2. ALTER</strong>:</p><ul><li>The ALTER statement is always used with “ADD”, “DROP” and “MODIFY” commands according to the situation</li></ul><p><strong>ADD a column in the table</strong></p><p><em>Query Syntax:</em></p><p>ALTER TABLE table_name</p><p>ADD new_column_name column_definition</p><p>[ FIRST | AFTER column_name ];</p><p>Query:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/0*xQDw_UY6LaoqhNlw" /></figure><p>Output:</p><p>Table Altered</p><ul><li><strong>MODIFY column in the table</strong></li></ul><p><em>Query Syntax:</em></p><p>ALTER TABLE table_name</p><p>MODIFY column_name column_definition</p><p>[ FIRST | AFTER column_name ];</p><p><strong>Query:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/0*dE7GpewDb0PLNukc" /></figure><p>Output:</p><p>Table Altered</p><ul><li><strong>DROP column in table</strong></li></ul><p><em>Query Syntax:</em></p><p>ALTER TABLE table_name</p><p>DROP COLUMN column_name;</p><p><strong>Query:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/181/0*vRtKtlcuYfuBxByV" /></figure><p>Output:</p><p>Table Altered</p><ul><li><strong>RENAME table</strong></li></ul><p><em>Query Syntax:</em></p><p>ALTER TABLE table_name</p><p>RENAME TO new_table_name;</p><p>Query:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/199/0*XfBUj6788cE_3SW-" /></figure><p>Output:</p><p>Table Altered</p><ul><li><strong>TRUNCATE</strong>:</li></ul><p>Remove all records from a table, including all spaces allocated for the records are removed</p><p><em>Query Syntax:</em></p><p>TRUNCATE TABLE TABLE_NAME;</p><ul><li>We first insert values into the table to check this query:</li></ul><p>Query for inserting values:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*2MfaXclAI2I5FWnM" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*4RocEnvSRmvnXjPt" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*l5NgzLlnDq7N429K" /></figure><ul><li>Now let’s check the data in the table:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*bRrOfgJRmfgbwe7aE-b-SA.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*GHL0HZe-gE3RoPYs" /></figure><ul><li>Truncating the table:</li></ul><p>Query:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/293/1*jQJxl8T3QU7yAXCHzYw3Aw.png" /></figure><p>Output:</p><p>Table Truncated</p><ul><li>Let’s check the data in the table again</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*bRrOfgJRmfgbwe7aE-b-SA.png" /></figure><p>Output:</p><p>No Data Found</p><p>Here the data in the table is lost but not the table itself.</p><p><em>Summing up , we had a brief look at the concept of MySQL , the data types and the DDL queries . I hope this blog was worth reading and helpful in gaining knowledge about MySQL.</em></p><p><strong><em>Stay connected to learn more !</em></strong></p><p>Written By - <a href="https://medium.com/u/eaf6940c8479">Varsha Gajula</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf22bc05cb29" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cosc/complete-guide-to-mysql-part-1-bf22bc05cb29">Complete guide to MySQL (Part 1)</a> was originally published in <a href="https://medium.com/cosc">COSC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Data Science — Coursera]]></title>
            <link>https://medium.com/@satvikareddy/introduction-to-data-science-coursera-804af755a134?source=rss-4ef108ff5584------2</link>
            <guid isPermaLink="false">https://medium.com/p/804af755a134</guid>
            <category><![CDATA[coursera]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[review]]></category>
            <category><![CDATA[introduction]]></category>
            <category><![CDATA[lockdown]]></category>
            <dc:creator><![CDATA[G Satvika Reddy]]></dc:creator>
            <pubDate>Fri, 15 May 2020 23:02:59 GMT</pubDate>
            <atom:updated>2020-05-15T23:02:59.361Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction to Data Science — Coursera</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*QGl1dkE46Wfu1gN2ENAkFA.jpeg" /></figure><blockquote>Over the last month I was unsure about what to do and where to begin learning from. I realised that I could learn everything I needed through edX, coursera, and Udacity and went through them to figure out which would be the best way to start. After extensive scouring and based off of my interest in Data Science, I decided to pursue a 4 week long course offered by coursera, <strong>Introduction to data science in Python by the University of Michigan </strong>which is one of the 5 courses in the Data science specialisation. This course was sponsored by L4G, which made it free of cost.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qSL-bGmBaj_TyZXQ8XWpbA.jpeg" /></figure><p>The sheer number of resources available for learning python is gobsmacking! And guess what? This course is offered in Python!</p><p>I think the most important aspect of a Data Science introductory course is to answer all kinds of fundamental questions like <strong><em>What is data science? What does a data scientist do? What skills does a data scientist require? </em></strong>This course checks all of these boxes.</p><p>By the end of the first week you will think of Data Science</p><ul><li>As a sort of epistemology, or a way of knowing.</li><li>To be useful in a variety of disciplines and careers.</li><li>As a way of approaching problems and critical thinking skills.</li></ul><p>The course deepens our understanding on how Python can be used to manipulate, clean, and query data by using the Pandas data tool kit. They also give many references and ungraded tools to help us with our learning experience.</p><p><strong>Drew conway</strong> says that data science can be thought of as an intersection of hacking skills, math and stats knowledge, and substantial expertise. Though it seems to be an oversimplified way of looking at it, it does well for a neat start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RJNUIJm4S4YK1qs5dmHovw.jpeg" /><figcaption>The Data Science Messiah</figcaption></figure><h3>A Weekwise Overview</h3><p><strong>In the first week</strong>, we talked about how Python can be used to interact with and process data.</p><p><strong>In the second week</strong>, we were introduced to tabular data in the form of Series and DataFrames using the Pandas library.</p><p><strong>In the third week, </strong>we deepened our knowledge on how to use pandas to group data, apply functions, and merge data sets.</p><p><strong>By the end of the course</strong>, I was aware of the skills required to acquire, explore and model data. They also cover a few core statistics concepts that will help build a sturdy base to further your understanding of data science.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*xgBLrOIyJSeVEohWT5qKXg.png" /></figure><p>Every single line of code that was taught in the course is present in the <em>Jupyter notebooks </em>provided by the online platform which helps us manipulate the queries based on our understanding.</p><p><strong><em>Fun Fact:</em></strong> “<strong>Jupyter</strong>” is a loose <strong>acronym</strong> meaning Julia, Python and R.</p><p>By the end of every week you will be given assignments to test the skills you acquired during the week which will not only enhance your skills but also boost your confidence. If you are stuck anywhere or are not able to grasp any of the concepts that were taught, the best way to proceed is to check out the Discussion forums.</p><p>The cherry on the top of this course is the hypothesis testing project that’s at the end. This project does a very good job of delivering a <strong><em>hands on experience</em></strong> on a real life Data Science problem with the concepts we cover through out the course which you can use to demonstrate your ability to acquire, manipulate, clean, and run basic data analyses.</p><p>Hope this review of mine helps. Looking forward to learn more in the time to come !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=804af755a134" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>