在序列上执行聚集函数(比如sum() , min() , max() ) eg1: >>>nums = [1, 2, 3, 4, 5]>>>s = sum(x * x for x in nums) eg2: >>>import os >>>files=os.listdir('C:\share') >>>if any(name.endswith('.py') for name in files): ... print(
来自:http://yushine.iteye.com/blog/775407 FROM_UNIXTIME把 unix时间戳转换为标准时间 unix_timestamp把标准时间转换为 unix时间戳//查询语句中不能使用strtotime()函数!但是可以使用unix_timestamp DATE_FORMAT('1997-10-04 22:23:00','%Y-%m-%d') 格式化时间 如:select FROM_UNIXTIME(pubdate) from article where p
--查看当前用户的所有序列 select SEQUENCE_OWNER,SEQUENCE_NAME from dba_sequences where sequence_owner='用户名'; --查询当前用户的序列总数 select count(*) from dba_sequences where sequence_owner='用户名'; select SEQUENCE_OWNER,SEQUENCE_NAME from dba_sequences where sequence_owner