MCQs > IT & Programming > Microsoft SQL Server > You have a table named 'employees', having the following structure. empid int(4) deptname varchar(50) salary int(4) And a view is created as follows: create view viemployees as select * from employees You want to insert a new row into the table having the following values: empid=1010, deptname=HR, salary=10000. Which of the following are the correct insert SQL queries?

Microsoft SQL Server MCQs



You have a table named 'employees', having the following structure.

empid int(4)

deptname varchar(50)

salary int(4)

And a view is created as follows:

create view viemployees as select * from employees

You want to insert a new row into the table having the following values:

empid=1010, deptname=HR, salary=10000.

Which of the following are the correct insert SQL queries?

Answer

Correct Answer: insert into employees values (1010, 'HR', 10000)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Microsoft SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Microsoft SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it