i have a table titled "Persons" with several "lastname"(s) beginning with the letter B, but the following query returns no match:
the table is called "Persons" (with capital P) and "lastname" is the all lowercase column title... writing '[ABC]%' returns zero matches also. does charlist not work with phpMyAdmin? the other SQL wildcards (& and _) work fine, just not [charlist].
Code:
select * from Persons where lastname like '[abc]%'
the table is called "Persons" (with capital P) and "lastname" is the all lowercase column title... writing '[ABC]%' returns zero matches also. does charlist not work with phpMyAdmin? the other SQL wildcards (& and _) work fine, just not [charlist].