Функция LPAD в SQL Oracle
//this will get only first 4 characters from firstname
SELECT LPAD(firstname,4) FROM customers;
Magnificent Millipede
//this will get only first 4 characters from firstname
SELECT LPAD(firstname,4) FROM customers;