INSERT DATA in TABLE with SQL Command in PHP

 If we want to add data in table named "personal" then we can use below shown sql query :

INSERT INTO personal(id,name,percentage,age,gender,city) 

VALUES(1,"Ram Kumar",45,19,"M",1),

 (2,"Sarita Kumari",55,22,"F",2),

 (3,"Salman Khan",62,20,"M",2),

 (4,"Juhi Chawla",47,18,"F",3),

 (5,"Anil Kapoor",74,22,"M",1),

 (6,"John Abraham",64,21,"M",2),

 (7,"Shahid Kapoor",52,20,"M",1);

Comments

Popular posts from this blog

GROUP BY Clause and HAVING Clause in PHP

Method Overriding in Traits in PHP

Mysqli database Connection and Display Table Data from Database