摘要:
一、JSON_CONTAINS 先来看看我百度到的定义和实例 解读:参数主要有三个值,分别是json对象、值、json的具体key值(可缺省) 人话:前面包含后面为真则返回1(前面包含后面!!前面包含后面!!前面包含后面!!) 写法: 1.select * from A where JSON_CON 阅读全文
摘要:
格式: 1.case A when a then 1 when b then 2 else 3 end (as‘自取字段名’) 2.case when B=a(条件表达式)then 1 when B=b then 2 else 3 end (as‘自取字段名’) 用处: 用来归类展示数据,将已知的数 阅读全文