<?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 Kumar on Medium]]></title>
        <description><![CDATA[Stories by Kumar on Medium]]></description>
        <link>https://medium.com/@kumar12081966?source=rss-c684f9af2c23------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*s3VW1cZv99VGhpP0</url>
            <title>Stories by Kumar on Medium</title>
            <link>https://medium.com/@kumar12081966?source=rss-c684f9af2c23------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 15:17:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kumar12081966/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[Database Languages]]></title>
            <link>https://medium.com/@kumar12081966/database-languages-d8c63f012bdb?source=rss-c684f9af2c23------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8c63f012bdb</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[transactionmanager]]></category>
            <category><![CDATA[sql-functions]]></category>
            <category><![CDATA[database-user]]></category>
            <category><![CDATA[keys]]></category>
            <dc:creator><![CDATA[Kumar]]></dc:creator>
            <pubDate>Fri, 25 Sep 2026 13:31:08 GMT</pubDate>
            <atom:updated>2026-09-25T13:31:08.710Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jMt0HWWf_ZVXiPZ2LSB0rw.png" /></figure><p>Database System support two type of languages, the first language that can specify the schema and the second language express queries and updates.</p><p>In other words, Database languages are specialized languages used to define, manipulate, control, and query data in a database management system (DBMS)</p><p>Database languages are generally divided into the following types:</p><h3>1. DDL — Data Definition Language</h3><p><strong>Data Definition Language (DDL)</strong></p><p><strong><em>A Database schema is specified by special type of language called DDL.</em></strong></p><p><strong><em>The Result of compilation of DDL statement is a set of table that stored in a special file called data dictionary.</em></strong></p><p>DDL is used to <strong>define or change the structure of database objects</strong> such as tables.</p><p><strong>Commands:</strong> CREATE, ALTER, DROP</p><p>Example : create command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*O8n8JhVTYymd2nTTq45t5w.png" /></figure><h3>2. DML — Data Manipulation Language</h3><p><strong>That enable accessing and manipulate data as organized by the data model. i.e . Retrieval, Insertion, Updation and deletion.</strong></p><p><strong>DML is also known as query language is two type:-</strong></p><p><strong>Procedural DML : users specify what data are needed and how to get those data.</strong></p><p><strong>Non Procedural DML : users specify what data are needed without specifying how to get those data.</strong></p><p>DML is used to <strong>insert, update, and delete data</strong> in tables.</p><p><strong>Commands:</strong> INSERT, UPDATE, DELETE</p><p><strong>Example: Insert , UPDATE, DELETE Command</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*TgExD3B0NQLNW6-hQdy8Lg.png" /></figure><h3>3. DQL — Data Query Language</h3><p>DQL is used to <strong>retrieve data</strong> from the database.</p><p><strong>SQL is the most widely used query language, a portion of DML involves retrieval of information is called query language.</strong></p><p><strong>Command:</strong> SELECT</p><p><strong>Example: Select Command</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*XBU7hMhUmRodIl-WPEH9MA.png" /></figure><h3>4. DCL — Data Control Language</h3><p>DCL is used to <strong>control access and permissions</strong> on the database.</p><p><strong>Commands:</strong> GRANT, REVOKE</p><p><strong>Example: Grant Command</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*5EQn_67CLhx5BYeeocVFEw.png" /></figure><h3>5. TCL — Transaction Control Language</h3><p>TCL is used to <strong>manage database transactions</strong>.</p><p><strong>Commands:</strong> COMMIT, ROLLBACK, SAVEPOINT</p><p><strong>Example: COMMIT Command</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*WT8wON1nEpFgFnVbtSABDw.png" /></figure><p><strong>Example: ROLLBACK Command</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*m3bHLdN-ObJgxezXsFXPdg.png" /></figure><p>Note : If AUTOCOMMIT is turned off, the previous command can be rolled back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*T7RhBj9XjDstdjXmAtxLsg.png" /></figure><p>The above commands will be discuss in SQL.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8c63f012bdb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Database Instances And Database Schemas]]></title>
            <link>https://medium.com/@kumar12081966/database-instances-and-database-schemas-d77c381a3ee4?source=rss-c684f9af2c23------2</link>
            <guid isPermaLink="false">https://medium.com/p/d77c381a3ee4</guid>
            <category><![CDATA[sql-functions]]></category>
            <category><![CDATA[transactionmanager]]></category>
            <category><![CDATA[database-language]]></category>
            <category><![CDATA[database-key]]></category>
            <category><![CDATA[database-indexing]]></category>
            <dc:creator><![CDATA[Kumar]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 06:44:56 GMT</pubDate>
            <atom:updated>2026-09-23T06:44:56.230Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DAeWEtkRzCdVwWaWYBduFw.png" /></figure><p>Database Instances : The collection of information stored in a database at a particular moment is called instance of a database.</p><p>Database changes over a time as information is inserted and deleted.</p><p>In simple words, the <strong>database schema</strong> describes the structure of the database, while the <strong>database instance</strong> represents the actual data present in that structure at a specific time.</p><p><strong>Example:</strong></p><p>Consider a STUDENT table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*fU16pK-lUbc3jz87fup53g.png" /><figcaption>Instance of a database</figcaption></figure><p>The above data represents an <strong>instance of the STUDENT database at that particular time</strong>.</p><p>If new student aditya is added in an existing student table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*ZHYqcqQXDYe3qxEKUpNagg.png" /></figure><p>The instance of database changes after adding a new record.</p><p>When ever we deleting or modifying the data of an exiting database the instance of a database will be change.</p><h3>Database Schema</h3><p><strong>Schema :</strong> <strong>The overall design of a database is called database schema.</strong></p><p>OR</p><p>A <strong>database schema</strong> is the <strong>logical structure or design of a database</strong>. It defines how data is organized, including:</p><ul><li>Tables</li><li>Columns (attributes)</li><li>Data types</li><li>Relationships between tables</li><li>Constraints such as Primary Key and Foreign Key</li></ul><p>The schema describes <strong>how the database is designed</strong>, not the actual data stored in it.</p><p>Example : Suppose we create a student management system</p><p>The schema may contain the following</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*XR0_kgQDejmqN_ZdqEOYjg.png" /></figure><p>The schema of the STUDENT table can be represented as:</p><p>STUDENT(Roll, Name, Branch)</p><p>Here:</p><ul><li>STUDENT → Table name</li><li>Roll_No, Name, Branch→ Attributes/columns</li><li>INTEGER, VARCHAR, etc. → Data types of the attributes</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tMCtcSfpgCfoSvKnK2DN5A.png" /></figure><p><strong>In simple words:</strong></p><blockquote><strong><em>Database Schema = Blueprint/design of a database.</em></strong></blockquote><p>For example, STUDENT(Roll_No, Name, Branch) is the <strong>schema</strong>, while the actual student records are the <strong>data (database instance)</strong>.</p><h3>Difference between Database Schema vs Instance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*4zPJOXmpupM1QRc3Z-Vcuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*d-3RqvomqhkWejTjDcie8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*QI-bEVWc8AhcfX4qWEClTw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d77c381a3ee4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding DBMS: A Beginner’s Guide to Database Management Systems]]></title>
            <link>https://medium.com/@kumar12081966/understanding-dbms-a-beginners-guide-to-database-management-systems-6fec6be76b4a?source=rss-c684f9af2c23------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fec6be76b4a</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[er-diagram]]></category>
            <category><![CDATA[data-model]]></category>
            <category><![CDATA[database-schema]]></category>
            <category><![CDATA[dbms]]></category>
            <dc:creator><![CDATA[Kumar]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 07:28:58 GMT</pubDate>
            <atom:updated>2026-09-22T07:28:58.268Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N_ZDWKc694HgsC9AVnrYMw.png" /></figure><p>If you’ve ever wondered how apps like Instagram, Amazon, or your college portal manage millions of records without losing their minds (or your data), the answer lies in a <strong>Database Management System (DBMS)</strong>. Let’s break down what it is, why it matters, and how it’s structured — in plain, exam-friendly language.</p><h3>What is a DBMS?</h3><p>A <strong>Database Management System (DBMS)</strong> is a collection of interrelated data along with a set of programs that allow users to access, create, and manage that data. The collection of data itself is what we call a <strong>database</strong>.</p><p>Think of it like a highly organized digital filing cabinet — except this cabinet can search, sort, update, and protect its own contents automatically.</p><h3>Objectives of a DBMS</h3><p>At its core, a DBMS exists to:</p><ul><li>Provide a <strong>convenient and efficient environment</strong> for storing and retrieving information</li><li>Handle the <strong>definition of storage structures</strong> for information</li><li>Manage the <strong>manipulation of information</strong> — insertion, updates, deletions, and queries</li></ul><p>In short, a DBMS takes the messy job of “where do I put this data and how do I find it later” and turns it into something systematic and reliable.</p><h3>Purpose of a Database System</h3><p>A database system is designed to store, organize, manage, and retrieve data efficiently and securely. Here’s what it actually does for us:</p><ol><li><strong>Data Storage</strong> — Stores large volumes of data in an organized, structured manner.</li><li><strong>Easy Data Retrieval</strong> — Lets users quickly search and pull out exactly the information they need.</li><li><strong>Data Management</strong> — Makes adding, modifying, and deleting data straightforward.</li><li><strong>Data Security</strong> — Protects data from unauthorized access through authentication and permissions.</li><li><strong>Data Integrity</strong> — Ensures data stays accurate, consistent, and valid over time.</li><li><strong>Reduced Data Redundancy</strong> — Minimizes unnecessary duplication of the same data across the system.</li><li><strong>Data Sharing</strong> — Enables multiple users or applications to access and use the same database simultaneously.</li><li><strong>Backup and Recovery</strong> — Offers mechanisms to restore data after system failures or accidental loss.</li><li><strong>Concurrency Control</strong> — Allows many users to read and write data at the same time without corrupting it.</li><li><strong>Data Independence</strong> — Permits changes to the database’s internal structure without forcing major rewrites of application programs.</li></ol><p><strong>In simple words:</strong> the main purpose of a database system is to store data efficiently and give users secure, accurate, consistent, and convenient access to it.</p><h3>The Three Levels of Data Abstraction</h3><p>One of the most elegant ideas in DBMS design is <strong>data abstraction</strong> — hiding complexity from users so they only see what’s relevant to them. This is achieved through three levels:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ABIMULsbq-gfygwphUE8SA.png" /></figure><h3>1. Physical Level (Internal Level)</h3><p>This is the <strong>lowest level</strong> of abstraction. It describes <em>how</em> data is actually stored on disk — the file structures, indexing methods, and storage details. This is the domain of database administrators and system designers, not everyday users.</p><h3>2. Logical Level (Conceptual Level)</h3><p>The <strong>middle level</strong> describes <em>what</em> data is stored in the database and <em>what relationships</em> exist among that data. It defines tables, fields, and constraints without worrying about the physical storage mechanics underneath.</p><h3>3. View Level</h3><p>The <strong>highest level</strong> of abstraction. It defines how different users interact with the database through <strong>views</strong> — simplified, customized windows into the data that hide irrelevant details. For example, a bank teller and a bank manager might see very different “views” of the same underlying customer database.</p><h3>Why does this layered design matter?</h3><p>This three-tier structure gives databases something called <strong>data independence</strong> — the ability to change how data is physically stored without breaking the applications built on top of it, and to change the logical structure without disrupting how end users see their views. It’s this separation of concerns that makes modern databases both flexible and robust.</p><p><em>Want more DBMS concepts broken down like this — normalization, keys, ER diagrams, or SQL basics? Let me know and I can put together a follow-up piece.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fec6be76b4a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>