Skip to content
Worked Examples · Example 8.3

Q.Display names of all employees along with their annual salary (Salary*12). While displaying query result, rename EName as Name.

Uttar Pradesh UpmspTextbookSubjective· 2mImportance★★★★★est
11% · 5/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 →

Display each employee's name (aliased) and annual salary (monthly salary x 12).

SELECT EName AS Name, Salary*12
FROM EMPLOYEE;

Output:

| Name     | Salary*12 |
| Aaliya   | 120000    |
| Kritika  | 720000    |
| Shabbir  | 540000    |
| Gurpreet | 228000    |
| Joseph   | 408000    |
| Sanya    | 576000    |
| Vergese  | 180000    |
| Nachaobi | 348000    | …

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.