Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

4- write a query that displays the employee’s last namewith the first latter cap

ID: 3609919 • Letter: 4

Question

4- write a query that displays the employee’s last namewith the first latter capitalized and all other letters lowercase,and the length of the names, for all employees whose name startswith J,A,orM Give each column an appropriate label.

Sort the results by the employees last names..

                             Name

                       length

Abel

                                                                  4

Matos

5

Mourgos

7

                             Name

                       length

Abel

                                                                  4

Matos

5

Mourgos

7

Explanation / Answer

Dear.., selct ename, LENGTH(ename) from employee WHEREINITCAP(ename)='j','A','M'; LENGTH(ename) shows the length of a string as anumeric value. INITCAP(ename) first letter be captilized. You have any doubts cramster is there for you. You have any doubts cramster is there for you.
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote