DML

Duration: 8 min

This video lesson is available to enrolled students.

Return to /learn/COGNIZANT-PREPARATION/ansi-sql-mysql-skill-123/sql/ddl-dml-dcl-tcl-desc/asset-dml after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. Communication Round: Vocabulary, Subject Verb Agreement (Verb Noun Agreement), Tenses, Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Cloze Test (Cloze Passage), Sentence Correction (Error Correction), Sentence Completion (Fill in the blanks), Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Direct and Indirect Speech, Active Passive Voice (Voice), Verbal Analogy (Word Based Analogy), Articles, Preposition, Conjunction, Sentence Construction, English Writing Ability, Communication Assessment
  2. Quantitative Aptitude: Ratio and Proportion (Ratios), Divisibility Rules, Data Interpretation, Mixture and Alligation, Permutation and Combination, Logarithm, Number System, HCF LCM, Speed Time and Distance, Percentage, Average, Powers and Exponents (Surds and Indices), Time and Work, Mensuration and Geometry, Age Problems, Pipe and Cistern, Probability, Profit and Loss, Simple Interest and Compound Interest, Algebra
  3. Analytical and Logical Reasoning: Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Directions (Direction Test), Ranking, Order and Sequence, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Selection Decision Table (Decision Making), Logical Sequence Of Words, Puzzle Solving (Puzzles), Syllogisms, Seating Arrangements, Calendar, Clock, Blood Relations, Cubes & Dices, Venn Diagram, Analytical Reasoning (Counting Figures Reasoning)
  4. Cognizant Gaming Aptitude: Gamified / Game Based Aptitude
  5. Java (Cluster 1): Java
  6. ANSI SQL MySQL (Cluster 1,2,3): SQL
  7. HTML, CSS, JavaScript (Cluster 1,3): HTML, CSS, JavaScript
  8. Python (Cluster 2): Python for Placements by Yash Sir
  9. Cloud Fundamentals (Cluster 2): Emerging Tech Trends
  10. C# (Cluster 3): C#
  11. OOPs: Object Oriented Programming (OOPS)
  12. Technical Assessment (Coding): Coding Questions by Yash Sir, C Programming by Yash Sir, Programming in C++, Pseudo Codes
  13. Data Structures: Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs, Hashing
  14. DBMS: 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, Data Warehousing & Mining, Big Data Systems, NoSQL
  15. Operating Systems: 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
  16. Computer Networks: 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
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…