SELECT * FROM (
select replace(FlightId_IaTa,LEFT(FlightId_IaTa,2),'') as aa,FlightId_IaTa,FlightId
from flightplan ) as c
where aa NOT REGEXP '[0-9]+';
SELECT * FROM (
select replace(FlightId_IaTa,LEFT(FlightId_IaTa,2),'') as aa,FlightId_IaTa,FlightId
from flightplan ) as c
where aa NOT REGEXP '[0-9]+';