FIND_IN_SET with two strings

前端 未结 3 690
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-27 15:21

I have this EMPLOYEE table of employees list

+-----+---------------+-------------+
| ID  |EMPLOYEE_ID    | SKILLS      |
+-----+---------------+-------------+
|          


        
3条回答
  •  深忆病人
    2021-01-27 16:11

    You can try this to search in two columns.

    SELECT * FROM order1 WHERE FIND_IN_SET(order_no,'$foo') OR awb_no IN ('$foo')
    

提交回复
热议问题