SQL удалить последний x char
REVERSE(SUBSTR( REVERSE(_column), x)) AS , _column_minus_x
Thibaudkhan
REVERSE(SUBSTR( REVERSE(_column), x)) AS , _column_minus_x