Adding only one value to the table in sql

前端 未结 6 1118
别跟我提以往
别跟我提以往 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 06:08

    Following works if other columns accept null or do have default value:

    INSERT INTO Student (name) VALUES('Jack');
    

    Further details can be found from the Reference Manual:: 13.2.5 INSERT Syntax.

提交回复
热议问题