MySQL Tutorial - INSERT - Add Data

Unlock Premium Features: AI explanations (Hinglish), Indian voice & Videos
Sign Up Free

โž• INSERT - Data Add Karo

๐ŸŒŸ Real Life:

๐Ÿ“ Form Submission:
Signup form bhara โ†’ Database mein entry
New product add โ†’ Products table mein insert

๐Ÿ“ฑ WhatsApp:
New contact save โ†’ Contacts table

Syntax

INSERT INTO table_name (columns)
VALUES (values);

Examples

-- Single row
INSERT INTO students (name, age, class)
VALUES ('Rohan', 15, '10th');

-- Multiple rows
INSERT INTO students VALUES
(1, 'Simran', 16, '11th'),
(2, 'Amit', 15, '10th');

๐Ÿค– AI Tutor Unlock Karo!

Apni language mein coding seekho - Hindi, Marathi, Gujarati aur 10+ Indian languages mein!

  • Hinglish mein explanations
  • Real-life examples
  • Beginner-friendly
Free Signup Karo

Example

INSERT INTO students (name, age)
VALUES ('Rohan', 20);