Adding only one value to the table in sql

前端 未结 6 1136
别跟我提以往
别跟我提以往 2020-12-31 05:26

I have a table named student which consists of (rollno, name, sem, branch)

If I want to INSERT only one value (i.e only name h

6条回答
  •  盖世英雄少女心
    2020-12-31 05:51

    insert into student(name) values("The name you wan to insert");
    

    Be careful not to forget to insert the primary key.

提交回复
热议问题