当前位置:网站首页>MySQL advanced development

MySQL advanced development

2022-06-23 21:14:00 Xiao Wange

Built in functions

Concept

In development, it is called ‘ Method ’ Put a set of logical statements in the method body Method name of external exposure

effect

1 Hidden code implementation details

2 Increase the weight of the code

Calling method

select  Function name 
 To operate on a table, you need to add a table 
select  Function name ( Parameters ) from  surface 

concerns

Function name

The functionality

classification

One line function for example concat() length() etc.

Group function for example sum() count()

Other functions now()

One line function

Each data row in the table can be processed ,

length() You can see how many bytes a character takes

select length('abc');
select length(' Ah ah ');
原网站

版权声明
本文为[Xiao Wange]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/12/202112260945331507.html