下面来看例子:
root@localhost:3306 [(none)]>select if(1>2,'是','否'),if(1否'),if(strcm
p('test','test1'...(0.00 sec)
需要注意的是test返回值为true,第三个返回否。...,如果n为0,则返回没有小数部分的数值。...0,如果任意一个基数的值为null,则返回值为null,基数的范围是2~36,下面来看例子:
root@localhost:3306 [(none)]>select conv('a',16,2),conv...,还有一些特别常用的,类似show processlist,select version(),select user(),select database()等等的,没有写,这些想必也都知道,关于mysql