[英]Lower upper function not working in string search
im new to mysql. 我是mysql的新手。 my problem is
我的问题是
select ename
from emp
where ename=lower('BLAKE')
the result will give BLAKE with uppercase letter. 结果将为BLAKE提供大写字母。 why does the lower function not working?
为什么较低的功能不起作用? did i miss something?
我错过了什么? i tried collate but not working
我尝试整理但不工作
Try this one: 试试这个:
select ename from emp where lower(ename)=lower('BLAKE')And if you want to as result into lower then
select lower(ename)as ename from emp where lower(ename)=lower('BLAKE')
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.