Skip to main content
Code To HaveN
Toggle navigation
Home
Categories
Online Judge
YouTube Tutorials
About
Search tutorials and solutions
Search
Categories
/
MySQL
/
Function
Solved programming problem
Show each employees short name that is first 3 letters from the first name followed by an underscore and then followed by the first 3 letters from last_name
Source code
Copy code
SELECT CONCAT(RPAD(FIRST_NAME,3),"_",RPAD(LAST_NAME,3)) FROM employees;
Join the discussion
Add your comment
Your name
Comment
Post comment
Add your comment