Adding only one value to the table in sql

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

    Execute this query, if you want the rest of columns as "#", do insert # inside the single quote which is left blank in query.

    Also, there is no need of defining column name in the query.

    insert into student values('','your name','','');
    

    Thanks...

提交回复
热议问题