SlideShare a Scribd company logo
USE FUNCTIONS ONLY
1. List employees whose name having 4 characters
2. List employees whose job is having 7 characters
3. Find out how many times letter 'S' occurs in 'qspiders'
4. List the employees whose job is having last 3 characters as 'man'
5. List employees whose job is having first 3 characters as 'man'.
6. Display all the names whose name is having exactly 1 'L'
7. Display dept names which are having letter 'O'
8. Display the output as shown below,
Scott working as a clerk earns 3000 in dept 20
9. Calculate number of L in string 'HELLLLL'
10. Display all the employees whose job has a string 'MAN'
11. Display all the employees whose job starts with string 'MAN'
12. Display all the employees whose job ends with string 'MAN'
13. Display first 3 characters of ename in lower case and rest everything
in upper case.
If ename is 'QSPIDERS' then display this as ‘qspIDERS’
14. Display the result from emp table as below.
SMITH is a CLERK and gets salary 2000
Here SMITH is ename column, CLERK is JOB and 2000 is SAL
column and rest everything is literal strings.
15.list the employees hired on a Wednesday
16.list the employees hired on a leap year
17.list the employees hired on a Sunday in the month of may

More Related Content

PDF
PUNE BUSES MSRTC TIME TABLE LAL PARI ORDINARY BUSES PDF
PDF
1 Worksheet Primary class kv ENGLIST , EVS
PDF
1 Worksheet Primary class kv ENGLIST , EVS
PDF
1 Worksheet Primary class kv ENGLIST , EVS
PDF
1 Worksheet Primary class kv ENGLIST , EVS
PDF
1 Worksheet Primary class kv ENGLIST , EVS
PDF
1 Worksheet Primary class kv ENGLIST , EVS
PDF
Kv cbsc class 3 hindi paractice set question answares सीबीएसई कक्षा तीसरी हि...
PUNE BUSES MSRTC TIME TABLE LAL PARI ORDINARY BUSES PDF
1 Worksheet Primary class kv ENGLIST , EVS
1 Worksheet Primary class kv ENGLIST , EVS
1 Worksheet Primary class kv ENGLIST , EVS
1 Worksheet Primary class kv ENGLIST , EVS
1 Worksheet Primary class kv ENGLIST , EVS
1 Worksheet Primary class kv ENGLIST , EVS
Kv cbsc class 3 hindi paractice set question answares सीबीएसई कक्षा तीसरी हि...

More from ABHIJEET KHIRE (20)

DOCX
kv cbsc class 3 mathematics practice set of 100 question
DOCX
Test resume
TXT
DOCX
All questions
DOCX
2 q on groups
DOCX
1 q on operators
DOCX
Q on subquery
DOCX
Q on joins
TXT
SQL QUERY PRACTICE
TXT
Mysql schema emp dept
TXT
Binary zero one_text_file
DOCX
Project abstract demo
PPTX
Rip van Winkle
PPT
Bio diesel
PDF
biod report pdf
PPTX
Steganography final presentation
PDF
Steganography final report
PPTX
Steganography software dbatu
PDF
digiinfo website project report
kv cbsc class 3 mathematics practice set of 100 question
Test resume
All questions
2 q on groups
1 q on operators
Q on subquery
Q on joins
SQL QUERY PRACTICE
Mysql schema emp dept
Binary zero one_text_file
Project abstract demo
Rip van Winkle
Bio diesel
biod report pdf
Steganography final presentation
Steganography final report
Steganography software dbatu
digiinfo website project report
Ad

Recently uploaded (20)

PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Lesson notes of climatology university.
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Structure & Organelles in detailed.
Abdominal Access Techniques with Prof. Dr. R K Mishra
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pharma ospi slides which help in ospi learning
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
human mycosis Human fungal infections are called human mycosis..pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
Supply Chain Operations Speaking Notes -ICLT Program
VCE English Exam - Section C Student Revision Booklet
202450812 BayCHI UCSC-SV 20250812 v17.pptx
GDM (1) (1).pptx small presentation for students
Chinmaya Tiranga quiz Grand Finale.pdf
01-Introduction-to-Information-Management.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Lesson notes of climatology university.
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Structure & Organelles in detailed.
Ad

Q on functions

  • 1. USE FUNCTIONS ONLY 1. List employees whose name having 4 characters 2. List employees whose job is having 7 characters 3. Find out how many times letter 'S' occurs in 'qspiders' 4. List the employees whose job is having last 3 characters as 'man' 5. List employees whose job is having first 3 characters as 'man'. 6. Display all the names whose name is having exactly 1 'L' 7. Display dept names which are having letter 'O' 8. Display the output as shown below, Scott working as a clerk earns 3000 in dept 20 9. Calculate number of L in string 'HELLLLL' 10. Display all the employees whose job has a string 'MAN' 11. Display all the employees whose job starts with string 'MAN' 12. Display all the employees whose job ends with string 'MAN' 13. Display first 3 characters of ename in lower case and rest everything in upper case. If ename is 'QSPIDERS' then display this as ‘qspIDERS’ 14. Display the result from emp table as below. SMITH is a CLERK and gets salary 2000 Here SMITH is ename column, CLERK is JOB and 2000 is SAL column and rest everything is literal strings. 15.list the employees hired on a Wednesday 16.list the employees hired on a leap year 17.list the employees hired on a Sunday in the month of may