摘要:
一、uiautomator2简介 uiautomator2 是一个可以使用Python对Android设备进行UI自动化的库。 其底层基于Google uiautomator,Google提供的uiautomator库可以获取屏幕上任意一个APP的任意一个控件属性,并对其进行任意操作。 二、环境准备 阅读全文
摘要:
1.Concat()拼接 mysql> select * from pet; + + + + + + + | name | owner | species | sex | birth | death | + + + + + + + | Puffball | Diane | hamster | f | 阅读全文
摘要:
1、AND&OR操作符 筛选出sex=m且品种为猫或狗的记录: mysql> select * from pet; + + + + + + + | name | owner | species | sex | birth | death | + + + + + + + | Puffball | Di 阅读全文
摘要:
1、事务的四大特征 A:原子性:事务是最小的单位,不可以在分割; C:一致性:事务要求,同一事务中的sql语句,必须保证同时成功或同时失败; I:隔离性:事务1和事务2之间是具有隔离性的; D:持久性:事务一旦结束,就不可以返回。 事务开启方式: 1.修改默认提交; 2.begin; 3.start 阅读全文
摘要:
1、什么叫做事务? mysql中,事务其实是一个最小的不可分割的工作单元。事务能够保证一个业务的完整性。 eg.银行转账: a要向b转出100元:a-->-100: update user set money=money-100 where name='a'; b-->+100: update us 阅读全文
摘要:
1.as取别名 查询所有教师和同学的姓名、性别、生日: 错误查询: mysql> select stu_name,tea_name,stu_sex,tea_sex,stu_birth,tea_birth from student,teacher; + + + + + + + | stu_name | 阅读全文
摘要:
1、四种连接查询 内连接:inner join 或者 join 外连接: 左连接:left join 或者 left outer join 右连接:right join 或者 right outer join 完全外连接:full join 或者 full outer join 2、创建两个表:pe 阅读全文
摘要:
1、查询有任课教师的姓名和department: 课程表: mysql> select * from course; + + + + | cour_num | cour_name | tea_num | + + + + | 1-245 | Math | 0438 | | 2-271 | Circui 阅读全文
摘要:
1.NOT IN: mysql> select * from teacher; + + + + + + + | tea_num | tea_name | tea_sex | tea_birth | tea_prof | department | + + + + + + + | 0435 | LiMe 阅读全文
摘要:
一、广度优先搜索(breadth-first search)(寻找最短路径问题) 前往朋友家的最短路径?象棋中走最少步数获胜?人际网络中关系最近的摄影师? 最近3步从双子峰到金门大桥。 二、图的概念:节点和边 三、有路径否?哪条路径最短? 人际网络: 在广度优先搜索的执行过程中,搜索范围从起点开始逐 阅读全文