<?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 Mahesh Lande on Medium]]></title>
        <description><![CDATA[Stories by Mahesh Lande on Medium]]></description>
        <link>https://medium.com/@maheshlande2222?source=rss-2f893561471d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WS-3ri78r77tKSNd</url>
            <title>Stories by Mahesh Lande on Medium</title>
            <link>https://medium.com/@maheshlande2222?source=rss-2f893561471d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:32:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maheshlande2222/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[Data Definition Language (DDL) of SQL]]></title>
            <link>https://medium.com/@maheshlande2222/data-definition-language-ddl-of-sql-d18c32e051af?source=rss-2f893561471d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d18c32e051af</guid>
            <category><![CDATA[data-definition-language]]></category>
            <category><![CDATA[create]]></category>
            <category><![CDATA[drop]]></category>
            <category><![CDATA[alter]]></category>
            <category><![CDATA[ddl]]></category>
            <dc:creator><![CDATA[Mahesh Lande]]></dc:creator>
            <pubDate>Sun, 24 Sep 2023 03:20:30 GMT</pubDate>
            <atom:updated>2023-09-24T03:20:30.688Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>DDL Commands of SQL:</strong></p><p>DDL (Data Definition Language) commands are used to change structure of the table or alter the structure of the data such as creating the table, altering the table and deleting the table. The DDL commands used on column level operations.</p><p>In DDL all commands are auto committed that means it permanently saves all the changes in the databases. Some common DDL commands in SLQ include CREATE, ALTER, DROP, TRUNCATE.</p><ol><li><strong>CREATE:</strong></li></ol><p>Create command in SQL is used to create new DATABASE and TABLE in form of rows and columns.</p><p>CREATE command is also use to create ‘New Database’.</p><p><strong>SYNTAX</strong>: To Create Database</p><p><em>Create Database School;</em></p><p><em>Use School;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*7zBuv_Kz4h8XYjjguv5MYQ.png" /></figure><p><em>Create table Student (</em></p><p><em>RollNo int,</em></p><p><em>Firstname varchar(255),</em></p><p><em>Lastname varchar(255),</em></p><p><em>Address varchar(255),</em></p><p><em>Age int );</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*co3NPYA47JnluBbQHyDVKg.png" /></figure><p>Here, We have created a table where columns are RollNo, FirstName, LastName, Address, Age by using CREATE command. We have to mentioned data type while creating table.</p><p><strong>2. ALTER:</strong></p><p>Alter command in SQL is used to make changes in table or modify data such as add columns, modify columns, rename columns, delete columns in existing table.</p><p><strong>SYNTAX</strong>:</p><p><em>Alter Table table_name</em></p><p><em>Add column_name datatype</em></p><p><strong>EXAMPLE</strong>:</p><p><em>Alter table Student ADD</em></p><p><em>column Subject varchar(255);</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*xU_SRSVLiOT2HH92jZFdwQ.png" /></figure><p>By using Alter command we can perform operations like add columns, rename columns, drop columns in the table. Alter is basically used to modify the given table.</p><p><strong>3. DROP:</strong></p><p>The DROP table statement is used to drop or delete an existing table in a database. This command deletes both the structure and records stored in table. It is also used to drop the Database.</p><p><strong>SYNTAX</strong>:</p><p><em>Drop table table_name;</em></p><p><strong>EXAMPLE:</strong></p><p><em>Drop table Student;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*APwby0VP-Xv2v5qJYANy-w.png" /></figure><p>Here, SQL query is used to drop table and same query can used for droping database.</p><p><strong>4. TRUNCATE:</strong></p><p>A truncate SQL command is used to remove all data from table permanently but does not delete structure or table.</p><p><strong>SYNTAX:</strong></p><p><em>Truncate table table_name;</em></p><p><strong>EXAMPLE</strong>:</p><p><em>Truncate table Student;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*XRc5sL80ed3KljBLHOtwxQ.png" /></figure><p>By using Truncate command we can remove over all data from table but table does not get deleted.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d18c32e051af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL For Data Science/Analytics]]></title>
            <link>https://medium.com/@maheshlande2222/sql-for-data-science-analytics-df3af1d41ed3?source=rss-2f893561471d------2</link>
            <guid isPermaLink="false">https://medium.com/p/df3af1d41ed3</guid>
            <category><![CDATA[what-is-database]]></category>
            <category><![CDATA[what-is-data]]></category>
            <category><![CDATA[type-of-sql]]></category>
            <category><![CDATA[introduction-of-sql]]></category>
            <dc:creator><![CDATA[Mahesh Lande]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 05:30:59 GMT</pubDate>
            <atom:updated>2023-09-19T05:30:59.130Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction of SQL</strong></p><p>SQL stands for Structured Query Language it is a Programming language. When SQL was designed it was called the Sequel Query Language. In 1970’s, the sequel language introduced by Raymond F. Boyce and Donald D. Chamberlin with the help of IBM Organization. SQL is one of language through which we can communicate with the database.</p><p>SQL is used to managing, handling, manipulating and storing data in databases with the help of Structured Query language. SQL is worked on relational databases where data is stored in structured or tabular format (table). This is only a language which can use to communicate with any Databases. SQL help us to store data in format or manipulate data using SQL commands</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*iWAkY7OJe87NlRSDdDPxhw.jpeg" /></figure><p>There are many more types of databases which includes relational database, non-relational database, No SQL database, and object-oriented databases. Each types have its own features and capabilities for user to manipulate data easily.</p><p><strong>What is DATA?</strong></p><p><em>The data which is present in raw format and collected from real world, any meaningful thing which is present around us in the numbers, characters or physical object is known as data.</em></p><p>Ex- 1. The information of a human is nothing but the data.</p><p>2. you can observe the below table -:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*QQpC9vbX4HJdlzV7cX7joA.png" /></figure><p><strong>DATA TYPES IN SQL</strong></p><p>Data types in SQL are used to represents the nature of the data. It is stored in variable. Some Common SQL data types are following:</p><p><strong>VARCHAR:</strong> It is used to store variable-length character strings.</p><p><strong>CHAR:</strong> It is used to store fix character length.</p><p><strong>INT:</strong> It is used to store whole numbers.</p><p><strong>DECIMAL:</strong> It is used to store decimal numbers with fixed scale.</p><p><strong>DATE:</strong> Date is used to store dates without any time component.</p><p><strong>TIMESTAMP:</strong> It is also used to store dates and times.</p><p>These are some common data types used in SQL. Each data type has specific characteristics and storage requirements.</p><p><strong>What is</strong> <strong>DATABASE?</strong></p><p>It is a collection of data that is organized and stored for easy access, management. Databases are used in applications, such as websites and to store and manage large amount of data. <em>Database is like a storage or container where you can store and organized all digital information or data.</em> You can store multiple table in database and it can access data easily by using database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*lomCPJjVhtmBzW-KXPdKug.jpeg" /></figure><p><strong>What is DBMS AND RDBMS</strong></p><p>DBMS stand for ‘Database Management System’ it is a software used for data management. It involves various functions tools for manipulating organizing, storing, creating structured data and the other side RDBMS Stands for ‘Relational Database Management System’ which is type of DBMS that organizes data in tabular format with finding out their relationship between data. Basically, it uses structure query language (SQL) to perform calculation and manipulations on data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*Oy2gDScdX6wgAEdIK7yWtA.jpeg" /></figure><p><strong>SQL Sub-Languages:</strong></p><p>SQL is very complex language, to reduce it’s complexity it can sub categorized into 5 sub-languages.</p><p>1 Data Definition Language (DDL)</p><p>2 Data Manipulation Language (DML)</p><p>3 Data Query Language (DQL)</p><p>4 Data Control Language (DCL)</p><p>5 Transaction Control Language (TCL)</p><p>Every language has multiple commands itself to perform operations on data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*knCoHfoG6RvrGAUB6ATrZg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df3af1d41ed3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>