摘要:
1. 视图 1.1 视图前戏 我们之前讲有,临时表的概念。 现在我们创建一个临时表:select * from (select * from tb1 where id between 10 and 100) as B where B.name = '李四''; 上面的重命名的表B就是一个临时表,可以 阅读全文
摘要:
魔性面试题1解析: def add(n,i): return n+i def test(): for i in range(4): yield i g=test()for n in [1,10]: g=(add(n,i) for i in g)print(n)print(list(g))10[20, 阅读全文