Home

Designed for school students & undergraduate entrance aspirants preparing for board exams, NEET, JEE and more.

JEE (Mains & Adv)NEET (UG)CBSE BoardISC BoardUP BoardCUET

Built for graduates & professionals targeting competitive exams — UPSC, CAT, GMAT, GRE, IELTS, banking & more.

GREGMATCATUPSCIBPSIELTSTOEFLSATACT

Core school & undergraduate subjects aligned with CBSE, ISC, UP Board, NEET and JEE syllabi.

PracticeMock TestsResources

Computer Science > Database Management > Structured Query Language

Success Rate: 0%
Single Question

Nisha is assigned the task of maintaining the staff data of an organization. She has to store the details of the staff in the SQL table named EMPLOYEES with attributes as EMPNO, NAME, DEPARTMENT, BASICSAL to store Employee's Identification Number, Name, Department, and Basic Salary respectively. There can be two or more Employees with the same name in the organization.

(i) (a) Help Nisha to identify the attribute which should be designated as the PRIMARY KEY. Justify your answer.

OR

(b) Help Nisha to identify the constraint which should be applied to the attribute NAME such that the Employees' Names cannot be left empty or NULL while entering the records but can have duplicate values.

(ii) (a) Write the SQL command to change the size of the attribute BASICSAL in the table EMPLOYEES to allow the maximum value of 99999.99 to be stored in it.

OR

(b) Write the SQL command to delete the table EMPLOYEES.

Current Question

Attempts0/3
StatusNot Answered
Ready to Answer! 🚀

Community Stats

Active Learners30
Questions Attempted597
Community Success Rate70%

Track Your Progress

Sign up to save your practice progress, add favorites, and get personalized insights.

Edvaya Target App Icon

Edvaya Target

Practice Questions & Mock Tests

Improve your problem-solving skills with our extensive collection of practice questions including PYQs, NCERT Textbooks, NCERT Exemplars and Mock Tests. Get instant feedback and detailed solutions to enhance your preparation.

Get it on Google Play

We Value Your Privacy

Edvaya uses cookies to enhance your learning experience, analyze platform usage, and provide personalized content. You can customize your preferences or accept all cookies to continue.

By continuing, you agree to our Cookie Policy and Privacy Policy