Skip to content
Worked Examples · Example 8.12

Q.The following query displays names of all the employees who have been given a bonus. This implies that the bonus column will not be blank.

Uttar Pradesh UpmspTextbookSubjective· 2mImportance★★★★★
47% · 21/45 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Names of employees who DO have a bonus recorded.

SELECT EName FROM EMPLOYEE WHERE Bonus IS NOT NULL;

Output:

7 rows: Aaliya, Kritika, Shabbir, Gurpreet, Joseph, Sanya, Tanya …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.