I have a field (column in Oracle) called X that has values like \"a1b2c3\", \"abc\", \"1ab\", \"123\", \"156\"
how do I write an sql query that returns me only the X
You can use following command -
LENGTH(TRIM(TRANSLATE(string1, '+-.0123456789', '')))
This will return NULL if your string1 is Numeric
string1
your query would be -
select * from tablename where LENGTH(TRIM(TRANSLATE(X, '+-.0123456789', ''))) is null