Write a query to concatenate staff id with first 3 characters from the staff name. Display with an alias as official_mail and order the results in ascending order.
my code:
select staff_id as official_mail
from Staff
order by official_mail;
how to write first 3 characters?
LEFT(),SUBSTR(),SUBSTRING().postgresql,oracle,sql-server,db2, ...