Computer Science > Database Management > Structured Query Language
Consider the table STAFF given below :

Write the suitable SQL queries to perform the following tasks: (I) To display the average salary of each department. (II) To insert the following record in the table, STAFF. STAFF ID: S333 STAFF NAME: GURMEET SALARY: 15000 DEPARTMENT: ADMIN DESIGNATION: CLERK (III) To display the unique designations from the table. (IV) To display all the details of the staff whose name is of four letters.
Keep Practicing
Edvaya Target
Board & Competitive Exams Made Easy
Edvaya Target is built for students preparing for JEE (Main & Advanced), NEET UG, and Board Exams (CBSE, ISC & State Boards) — using a practice-first approach that actually works.
Current Question
Community Stats
Track Your Progress
Sign up to save your practice progress, add favorites, and get personalized insights.

