mysql 概述 一.主要内容: 视图 create view name (select * from user where id>5); 触发器 函数 存储过程 索引 二.各模块详细说明 1.视图 加速有临时表:(select * from user where id>5) as B 需要再100个sql语句中使用,如果按照临时表的写法,需要再100个sql语句里重复写:(select * from user where id>5) as B. 这无疑增加了代码量.这时候可以将临时表存…
一.字符串基础 Python的字符串支持单引号('').双引号("")和三引号之中('''....'''和"""...""")三种写法这样就比较方便在字符串中嵌套带引号的字符串. a = "I'm a student" 并且这三种表示方法是相同的内容 >>> a = 'hello world' >>> b = "hello world" >>…