1.

What is the result of the above query?(a) It creates a view named studentdet with 3 attributes(b) It creates a view named studentdet with 1 attribute(c) It creates a view named ID with 2 attributes(d) It is syntactically wrong and does not give a resultI have been asked this question during an online interview.The doubt is from Views and Transactions topic in chapter Intermediate and Advanced Sql of RDBMS

Answer»

Right choice is (d) It is syntactically wrong and does not give a result

Best EXPLANATION: immediately after specifying the NAME of the VIEW, we have to WRITE the “as” keyword. So this query does not give any result as it is syntactically incorrect.



Discussion

No Comment Found

Related InterviewSolutions