查询‘E’开头并且后八位都是数字的数据:
select * from comm.pat_card where card_type_id=‘1’ and pat_card_no !~ ‘^E\d{8}$’
pgsql查询某个字母开头的数据
最新推荐文章于 2023-09-19 19:12:09 发布
查询‘E’开头并且后八位都是数字的数据:
select * from comm.pat_card where card_type_id=‘1’ and pat_card_no !~ ‘^E\d{8}$’