INSERT INTO customer_data
(cus_id, cust_name, age, city, salary)
VALUES
(1, 'Sam', 'Delhi',9000),
(2, 'ROhit', 'Banglore', 5000),
(3, 'Rahul', 'Mumbai', 12000),
(4, 'Sunny', 'Odisha',15000);
This is my Code
INSERT INTO customer_data
(cus_id, cust_name, age, city, salary)
VALUES
(1, 'Sam', 'Delhi',9000),
(2, 'ROhit', 'Banglore', 5000),
(3, 'Rahul', 'Mumbai', 12000),
(4, 'Sunny', 'Odisha',15000);
This is my Code
2
Answers
Your SQL query should contain same number of columns as same number of values
you column count in this
part of query is 5 whereas value count is 4 in this part
the values part is missing the age value