I would like to retrieve records who's first letter match either a, b or c. They should match whether they are caps or not.
Example:
$sql = "SELECT id, title from tblName WHERE first letter of title in (a, b, c) order by title ASC";
Any help would be greatly appreciated.
Thanks
SELECT id,来自tblName的标题,其中标题REGEXP'^ [abc]'按标题ASC排序
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.