SELECT SUBSTRING(kolumna, start, dlugosc) AS nazwa_kolumny FROM tabela;
SELECT SUBSTRING(nazwisko, 2, 3) AS podciag_znakow FROM tabela;