I have a table with first name, last name.
I want to be able to only select the records where the last names start from a-f. I attempted to use regexp but i don't think i was using right since nothing came up. does anyone know how to do that?
Select * from tblNames where lname regexp "^[a-f]";
what am i doing wrong? also, once I can actually get some input, how can i split this into pages? so that i only show 5 records per page?
Thanks
I want to be able to only select the records where the last names start from a-f. I attempted to use regexp but i don't think i was using right since nothing came up. does anyone know how to do that?
Select * from tblNames where lname regexp "^[a-f]";
what am i doing wrong? also, once I can actually get some input, how can i split this into pages? so that i only show 5 records per page?
Thanks