Mysql takes the field value comma to the first data query statement

  • 2020-05-30 21:12:57
  • OfStack

 
select count(*) as lot from OA_sample_check where left(ecnNO, LOCATE(',',ecnNO)-1)='a1' 

Related articles: