1.map(function,iterable) map是把迭代对象依次进行函数运算,并返回. 例子: map返回的十分map对象,需要list()函数转化. 2.exec()函数 执行储存在字符串或文件中的 Python 语句,相比于 eval,exec可以执行更复杂的 Python 代码. Execute the given source in the context of globals and locals. 在全局变量和局部变量上下文中执行给定的源. The source may be…
一.字符串函数 select concat(name,"age is",age) from users; insert(str,x,y,insert)//将字符串x位置开始y个位置替换成insert select lower(str) upper(str)//转化大小写 select * from user where upper(name)='AAA'; left (str ,x) right(str,x)//分别返回左边和右边的x个字符 select left ("a…