Hello all,
Happy Christmas Eve.
I'm trying to pull all the last names that start with A-C, D-F, G-H, etc. I've tried to use
select * from mytable where LastName like '[ABC]%'
...but while it makes perfect sense to me, MySQL is having none of it. I'm sure the syntax is off, but the manual isn't offering anything clear-cut as an alternative.
Anyone have any ideas?
Thanks,
Inger
Happy Christmas Eve.
I'm trying to pull all the last names that start with A-C, D-F, G-H, etc. I've tried to use
select * from mytable where LastName like '[ABC]%'
...but while it makes perfect sense to me, MySQL is having none of it. I'm sure the syntax is off, but the manual isn't offering anything clear-cut as an alternative.
Anyone have any ideas?
Thanks,
Inger