Question

​​​​​​​ SQL Display the employee names in this format: Lastname(in upper case)<comma>First_name(in initcaps) from employees using...

​​​​​​​ SQL

  1. Display the employee names in this format: Lastname(in upper case)<comma>First_name(in initcaps) from employees using NESTED FUNCTIONSName the column as ‘Formatted Name’

                        Eg: STEVEN,Fox

0 0
Add a comment Improve this question Transcribed image text
Answer #1

SELECT CONCAT(UPPER(LastName), ",", FirstName) AS 'Formatted Name'
FROM Employees;

Thanks and regards
if you like the answer please give a thumbs up
if you have a problem, feel free to comment.

UPDATE:

SELECT CONCAT(UPPER(Lastname), ",", First_name) AS 'Formatted Name'
FROM employees;

i have updated the answer's casing according to your question, see if this works.

Add a comment
Know the answer?
Add Answer to:
​​​​​​​ SQL Display the employee names in this format: Lastname(in upper case)<comma>First_name(in initcaps) from employees using...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT