DML
Duration: 8 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- Quantitative Aptitude: Number System, Percentage, Profit and Loss, Ratio and Proportion (Ratios), Average, Time and Work, Speed Time and Distance, Simple Interest and Compound Interest, Mixture and Alligation, Data Interpretation, Permutation and Combination, Probability, Logarithm, Powers and Exponents (Surds and Indices), Age Problems, Divisibility Rules, Partnership, HCF LCM, Algebra, Pipe and Cistern
- Logical Reasoning: Series (Number and Letter Series) (Numerical Relations and Reasoning), Analogy, Coding Decoding, Blood Relations, Directions (Direction Test), Syllogisms, Logical Sequence Of Words, Data Sufficiency, Seating Arrangements, Puzzle Solving (Puzzles), Calendar, Clock, Cubes & Dices, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Data Arrangement
- English Language: Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Sentence Correction (Error Correction), Sentence Completion (Fill in the blanks), Vocabulary, Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Active Passive Voice (Voice), Direct and Indirect Speech, Cloze Test (Cloze Passage), Tenses, Subject Verb Agreement (Verb Noun Agreement), Preposition, Articles, Conjunction, Adverb
- Written English Test: English Writing Ability
- Coding: Coding Questions by Yash Sir, C Programming by Yash Sir, Programming in C++, Java, Python for Placements by Yash Sir
- Communication Round: Communication Assessment
- DBMS (Technical Interview): Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, File Organization & Indexing, Relational Algebra, Relational Calculus, Transaction Management, Concurrency Control, Database Recovery, ORDBMS, Database Security & Authorization, Query Processing & Optimization, Enhanced Data Models, Big Data Systems, NoSQL, Data Warehousing & Mining
- SQL (Technical Interview): SQL
- Operating Systems (Technical Interview): Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Deadlock, Threads & Process Creation, Memory Management, Virtual Memory, Disc Scheduling, File Management, Windows OS, Linux OS, Security, Distributed Systems, Virtual Machines
- Computer Networks (Technical Interview): 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, Mobile Technology, Cloud Computing and IoT, Cyber and Info Security
- OOPs (Technical Interview): Object Oriented Programming (OOPS)
- HR Interview: MR & HR Interview Preparation
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
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: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.
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.