1、截屏 adb shell screencap -p /sdcard/a.png 2、录屏 adb shell screenrecord /sdcard/a.mp4 ...
分类:
数据库 时间:
2021-04-23 11:57:08
阅读次数:
0
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:
系统相关 时间:
2021-04-23 11:53:02
阅读次数:
0
# 查看所有的数据库SHOW DATABASES; # 选择某一个数据库USE bili; # 查看当前正在使用的数据库SELECT DATABASE(); # 创建一个新的数据库-- CREATE DATABASE douyu;-- CREATE DATABASE IF NOT EXISTS do ...
分类:
数据库 时间:
2021-04-22 16:33:38
阅读次数:
0
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:
系统相关 时间:
2021-04-22 16:20:40
阅读次数:
0
Shell工具 cut:可以切割提取指定列\字符\字节的数据 cut可以将文本按列进行划分的文本处理,cut命令逐行度入文本,然后按列划分字段并进行提取,输出等操作 选项参数: -f 提取范围 列号,获取第几列 -d 自定义分隔符 自定义分隔符,默认为制表符 -c 提取范围 以字符为单位进行分割 - ...
分类:
系统相关 时间:
2021-04-22 16:20:19
阅读次数:
0
方法1 select count(1) from sys.objects where name = 'student' 方法2 SELECT table_name FROM information_schema.TABLES WHERE table_name ='student' 程序员阿飞 202 ...
分类:
数据库 时间:
2021-04-22 16:12:38
阅读次数:
0
<select id="queryTableDataForMap" parameterType="String" resultType="map"> ${_parameter}</select>在mybatis中mapper文件中像这样写,你只需要传入一条String格式的sql语句 他就可以直接执 ...
分类:
其他好文 时间:
2021-04-22 16:11:10
阅读次数:
0
MySQL中"full outer join"的实现 表ta 表tb 使用:【left join】 union 【right join】 select t1.dim_a, t1.qty qty_a, t2.dim_a dim_b, t2.qty qty_b from ta t1 left join ...
分类:
数据库 时间:
2021-04-22 15:56:52
阅读次数:
0
SelectMany 一个序列的每个元素投影, 将平展为一个序列。结果延迟执行。 PetOwner[] petOwners ={ new PetOwner { Name="Higa, Sidney",Pets = new List<string>{ "Scruffy", "Sam" } }, new ...
分类:
其他好文 时间:
2021-04-22 15:43:01
阅读次数:
0
##合并表select * from empunion allselect * from dept; select * from emp,dept;##连接查询select* from emp,dept where emp.deptno = dept.deptno; ##标准写法select *fr ...
分类:
数据库 时间:
2021-04-22 15:30:06
阅读次数:
0