gs gs117 SQL: Queries, Constraints and Triggers - Integrity Constraints - Quiz No.1
gs gs117 Database Management System Quiz
This quiz belongs to book/course code gs gs117 Database Management System of gs organization. We have 92 quizzes available related to the book/course Database Management System. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic SQL: Queries, Constraints and Triggers. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.
NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.
Create table Employee(Emp_id numeric not null, Name varchar(20) , dept_name varchar(20), Salary numeric, unique(Emp_id,Name)); insert into Employee values(1002, Ross, CSE, 10000); insert into Employee values(1006,Ted,Finance, ); insert into Employee values(1002,Rita,Sales,20000);
What will be the result of the query?
Create table Manager(ID numeric,Name varchar(20),budget numeric,Details varchar(30));
Inorder to ensure that the value of budget is non-negative which of the following should be used?