I apologize if this question was asked before I just couldn’t correctly formalize it. I have a code column in a table and want to query it but remove some elements with some particular code. Say I want to take elements with code starting from 4 but not include the elements with code whose 6-th number is 9 (1121290).
The code column contains string of numbers with max-length of 8 char. and I want to take almost everything that starts with 4 except elements that start with 411, 427 and 428
Yes you can give query like this:–
I have column element with 6 digit codes.
I am fetching element whose 1st digit is 4 or 6th is 9.
we have to use
%and_for fetching..try this it will work.
Everything that starts with 4 except elements that start with 411, 427 and 428 :-
1st digit is 4 and 6th is not 9: I tested this one it is working fine try this :-