I have a DB that I had an ID field that has numerals and letters in some of the entries. I want to get ONLY the entries with the digits for the id entry. How can I do this?? Here is what I have so far
SELECT * FROM `sip` WHERE `keyword` LIKE 'secret' AND `id` like 102
This will pull the record 102. The id entries will be any digit up to a length of 6 digits long.
Can someone show me the way?
Thanks!
SELECT * FROM `sip` WHERE `keyword` LIKE 'secret' AND `id` like 102
This will pull the record 102. The id entries will be any digit up to a length of 6 digits long.
Can someone show me the way?
Thanks!