What is the command for inserting a collumn in sql database table? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the command for inserting a collumn in sql database table?

10th Sep 2019, 10:15 PM
saket singh
saket singh - avatar
3 Answers
+ 1
you use the insert into TableName command and then the fields you want to insert into, then the values for the fields. example: insert into myTable(id,name,address,age) values(1, 'saket singh', 'London', 87); the values for the fields and the fields should correspond; id cannot be a text or string, etc. .. hope its helpful, am also a beginner😂
11th Sep 2019, 2:02 AM
DOJ
DOJ - avatar
+ 1
Thanks for answering mate you have been very helpful
11th Sep 2019, 6:14 PM
saket singh
saket singh - avatar
+ 1
pleasure to be of help!
11th Sep 2019, 10:26 PM
DOJ
DOJ - avatar