(Sorry I know this is an old chestnut; I have found similar answers here but not an exact answer)
I frequently hand type this kind of query from a console so I am always looking for easier to type solutions
SELECT *
FROM tbl_loyalty_card
WHERE CUSTOMER_ID REGEXP "[0-9A-Z]"; -- exact but tedious to type
or
SELECT *
FROM tbl_loyalty_card
WHERE LENGTH(CUSTOMER_ID) >0; -- could match spaces
Do you have anything quicker to type even/especially if it's QAD?