当前位置:网站首页>MySQL winter vacation self-study 2022 12 (4)
MySQL winter vacation self-study 2022 12 (4)
2022-07-02 01:03:00 【Crane paper thousand】
-- 9, Returns the last few characters of a string
select right('hello',3); #llo
-- 10, String comparison
select strcmp('hello','world'); #-1
select strcmp('aaa','aaa'); # 0
select strcmp('aaad','aba'); #-1
select strcmp('b','a'); #1
-- 11, String interception
select substr('hello',2,3); #ell
select substring('hello',2,3); #ell
-- 12, Convert lowercase to uppercase
select ucase('helloWorld');#HELLOWORLD
select upper('helloWorld');
-- 13, Change upper case to lower case
select lcase('HELLOworld');#helloworld
select lower('HELLOworld');
边栏推荐
- AIX存储管理之卷组属性的查看和修改(二)
- How to type spaces in latex
- Source code of Qiwei automatic card issuing system
- Global and Chinese markets for maritime services 2022-2028: Research Report on technology, participants, trends, market size and share
- 教你白嫖Amazon rds一年并搭建MySQL云数据库(只需10分钟,真香)
- Node -- egg implements the interface of uploading files
- Review notes of compilation principles
- Schrodinger's Japanese learning applet source code
- [CTF] bjdctf 2020 Bar _ Bacystack2
- Barbie q! How to analyze the new game app?
猜你喜欢
BPR (Bayesian personalized sorting)
"C zero foundation introduction hundred knowledge hundred examples" (73) anonymous function -- lambda expression
Leetcode skimming: binary tree 03 (post order traversal of binary tree)
[eight sorts ①] insert sort (direct insert sort, Hill sort)
excel数据透视表
You probably haven't noticed the very important testing strategy in your work
RFID makes the inventory of fixed assets faster and more accurate
【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)
Promise and modular programming
Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
随机推荐
XMind思维导图
King combat power query renamed toolbox applet source code - with traffic main incentive advertisement
How to determine whether the current script is in the node environment or the browser environment?
2022 safety officer-b certificate examination practice questions simulated examination platform operation
Leetcode skimming: binary tree 01 (preorder traversal of binary tree)
Export default the exported object cannot be deconstructed, and module Differences between exports
DTL dephossite | prediction method of dephosphorylation sites based on Transfer Learning
[cascade classifier training parameters] training Haar cascades
教你白嫖Amazon rds一年并搭建MySQL云数据库(只需10分钟,真香)
Powerful calendar wechat applet source code - support the main mode of doing more traffic
Promise and modular programming
Promise和模块块化编程
程序员该如何更好的规划自己的职业发展?
2022 safety officer-a certificate examination questions and online simulation examination
sso单点登录的实现。
Two TVs
[CTF] bjdctf 2020 Bar _ Bacystack2
BiLSTM-CRF代码实现
股票开户哪个证券公司比较安全
2023 Lexus ES products have been announced, which makes great progress this time