Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

SQL TEST 1

1. find out the last_name, salary, manager_id of those employees whose


salary greater than 7500.
2. Display phone number without ‘.’
3. Get the last day of the year
4. Display employees last_name whose last_name ends with ‘n’ and ‘t’
5. Display employees experience in weeks,years,months
6. prompt a two(substitution) date from a user see how many weeks
there between these two dates
7. prom the number from user and convert it into words
Eg. Pass the Object:- “1526” and Display the output: one thousand
five hundred twenty-six
8. Display the employee name and „No Commission‟ where
commission_pct is NULL.
Use NVL and DECODE
9. Display how many days left in current month
10.Find a position of 2nd occurrence of character „e‟.

You might also like