Consider the following relation student.

student(rno, name, marks)

Which of the following is the correct syntax for the insert command in SQL?

Query 1:

INSERT INTO student VALUES (101, 'ram', 560);

Query 2:

INSERT INTO student (rno,name,marks) VALUES (101, 'ram', 560);

1
Only Query 1 is correct
2
Only Query 2 is correct
3
Both query 1 and query 2 are correct
4
None of the above
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation