DML

Duration: 8 min

This video lesson is available to enrolled students.

Return to /learn/ISRO/database-management-system/sql/ddl-dml-dcl-tcl-desc/asset-dml after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. About Course: About the Course
  2. General Aptitude & Reasoning: Number System, Percentage, Ratio and Proportion (Ratios), Average, Profit and Loss, Simple Interest and Compound Interest, Time and Work, Speed Time and Distance, Mixture and Alligation, Data Interpretation, Algebra, Probability, Permutation and Combination, Venn Diagram, HCF LCM, Divisibility Rules, Age Problems, Pipe and Cistern, Partnership, Linear Algebra, Sequence and Series (Series), Statistics, Powers and Exponents (Surds and Indices), Arithmetic, Mensuration and Geometry, Calculus, Trigonometry, Vectors, Speed Mathematics and Basic Mathematics, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Analogy, Series (Number and Letter Series) (Numerical Relations and Reasoning), Puzzle Solving (Puzzles), Syllogisms, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Calendar, Seating Arrangements, Coding Decoding, Blood Relations, Directions (Direction Test), Clock, Analytical Reasoning (Counting Figures Reasoning), Ranking, Order and Sequence, Logical Sequence Of Words, Inequality, Data Sufficiency, Cubes & Dices
  3. Computer Networks & Cybersecurity: Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware Basics, Network Security
  4. Programming, Data Structures & Algorithms: C Fundamentals, Control Flow, Functions, Arrays & Pointers, Storage Classes, Structures & Enums, DMA, Macros, Scoping & File Handling, OOPS with C++, Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs, Hashing, Algorithm Analysis, Time Complexity Analysis, Sorting Algorithms, Greedy Algorithms, Dynamic Programming, Minimum Spanning Trees, Shortest Path Algos, Advanced Algorithms
  5. AI, Machine Learning, Big Data & Cloud: Emerging Tech Trends, Artificial Intelligence, Big Data Systems, Approaches to AI, Search Algorithms, Knowledge Representation, Cloud Computing
  6. Digital Logic & Computer Organization: Digital Systems & Boolean Basics, Logic Gates & Hardware, Boolean Expression, Boolean Minimization, Combinational Circuit, Sequential Circuits, Number System, Number Representation, Basics of COA, Floating Point Rep, Cache Memory Organization, Input Output Organisation, Pipelining, Instr Formats & Modes, Register Transfer and Microoperations, Control Unit Design, Programming the Basic Computer
  7. TOC & Compiler: Introduction to TOC, Deterministic FA (DFA), Non-Deterministic FA, Regular Expressions, Grammar, Regular Language Properties, Moore & Mealy Machines, Pushdown Automata & CFG, Turing Machines, Complexity Theory, Intro to Compilers, Lexical Analysis, Grammar & CFG, Syntax Analysis: Top-Down, Syntax Analysis: Bottom-Up, Semantic Analysis & SDT, Intermediate Code Gen, Code Optimization, Run Time Environment
  8. Discrete Mathematics: Set Theory, Relations, Functions, Graph Theory, Group Theory, Propositional and Predicate Logic
  9. Operating System: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Threads & Process Creation, Deadlock, Memory Management, Virtual Memory, Disc Scheduling, File Management, Unix OS, Linux OS, Distributed Systems
  10. Software Engineering: Fundamentals of Software Engineering, Software Requirements and Quality Assurance, Software Design, Estimation and Metrics, Software Testing, Software Maintenance and Configuration Management, Object Oriented Technology, HTML Basics, JavaScript-Basics, Java, XML
  11. Database Management System: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, File Organization & Indexing, Relational Algebra, SQL, Relational Calculus, Transaction Management, Concurrency Control, Database Recovery, Data Warehousing & Mining, Enhanced Data Models, NoSQL
  12. Other Recurring CS Topics: Basics of Computer Graphics, 2-D Geometrical Transforms and Viewing, Multimedia
  13. Live Classes: ISRO Live classes
  14. Full Mock Test:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture introduces Data Manipulation Language (DML) within SQL, focusing on INSERT, UPDATE, and DELETE operations. The instructor begins by categorizing SQL commands into DDL, DML, TCL, DQL, and DCL, defining DML as the language used to manage and modify data within tables. The core of the lesson demonstrates practical DML usage through a sample Student table with columns for id, name, and marks. The instructor walks through INSERT statements for single rows, bulk inserts, and partial inserts using NULLs or defaults. The lesson then transitions to UPDATE commands, illustrating single record updates, multi-column modifications, and the risks of global bulk updates without WHERE clauses. Finally, the lecture covers DELETE operations for specific rows, ranges, patterns, and NULL values, concluding with a comparison table distinguishing DELETE (DML) from TRUNCATE and DROP (DDL).

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The video introduces the five main categories of SQL commands: DDL, DML, TCL, DQL, and DCL. The instructor highlights the definition of Data Manipulation Language (DML) as managing and modifying data within tables. A diagram is shown mapping specific SQL commands like INSERT, UPDATE, and DELETE to the DML category. The slide is headed "DML (Data Manipulation Language)" with a Purpose line reading it manages and modifies the data within tables. Three green SQL bullets show INSERT INTO Student statements for a standard single row, multiple rows (bulk), and a partial insert using nulls/defaults. A small table labeled "Student" in red handwriting lists rows 102 Priya 88 and 103 Amit 75 under the id, name, marks columns. Red underlines progressively mark the INSERT INTO and VALUES keywords across the bullets as the frames advance.

  2. 2:00 – 5:00 02:00-05:00

    The video demonstrates the use of Data Manipulation Language (DML) to manage and modify data within tables, specifically focusing on the INSERT and UPDATE commands. The instructor illustrates how to insert single rows, multiple bulk rows, and partial inserts using nulls or defaults. The lesson then transitions to updating records, showing how to modify single columns, multiple columns, and performing global or conditional bulk updates. The instructor highlights the 'Single Record Update' query with red circles and arrows, showing Amit's marks changing from 93 to 98. Red annotations are added to the table showing Priya's marks changing from 88 to 93. The instructor highlights the 'Global Update' and 'Conditional Bulk Update' queries with red underlines, emphasizing the danger of updates without WHERE clauses.

  3. 5:00 – 7:49 05:00-07:49

    The video focuses on Data Manipulation Language (DML) and its purpose of managing data within tables. It lists various deletion methods such as specific row, range-based, pattern-based, and null-based deletions using SQL commands. A comparison table is presented to differentiate between DELETE, TRUNCATE, and DROP statements based on their type, action, and undo capabilities. The instructor highlights key differences, such as DELETE being a DML command that allows rollback, while TRUNCATE and DROP are DDL commands. Red lines are drawn over the sample student table to indicate data removal, reinforcing the impact of DELETE operations on the dataset.

The lecture provides a structured overview of DML commands in SQL, moving from definition to practical application. The teaching flow begins with categorization, establishing DML's role in data manipulation. It then progresses through the three primary DML operations: INSERT, UPDATE, and DELETE. Each operation is demonstrated with specific SQL syntax and visual annotations on a sample Student table to show the resulting state changes. A key pedagogical point is the distinction between DML and DDL, particularly in the context of data removal, where DELETE (DML) is contrasted with TRUNCATE and DROP (DDL). The use of red annotations to highlight keywords and table changes helps students visualize the effect of each command. The inclusion of a 'Danger' example for global updates serves as an important cautionary note about the power and potential risks of DML operations.

Loading lesson…