feat: add.
This commit is contained in:
parent
846f25ec14
commit
68d89a239b
|
@ -26,6 +26,7 @@ git commit -m "Initial commit"
|
||||||
## 删除远程分支
|
## 删除远程分支
|
||||||
git push origin :<branch_name> # v1.5+
|
git push origin :<branch_name> # v1.5+
|
||||||
git push origin --delete <branch_name> # v1.7+
|
git push origin --delete <branch_name> # v1.7+
|
||||||
|
git branch --delete dev # 删除本地分支
|
||||||
|
|
||||||
## 与远端关联
|
## 与远端关联
|
||||||
git remote add origin <remote-git-url>
|
git remote add origin <remote-git-url>
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
# 查看端口占用情况
|
||||||
|
netstat -ano
|
||||||
|
netstat -aon|findstr "2008"
|
||||||
|
|
||||||
|
# 查看指定 PID 的进程
|
||||||
|
tasklist|findstr "8912"
|
|
@ -21,6 +21,10 @@ insert into temp values("gr", 108333, "goooogle");
|
||||||
# 查询表中某个字段(eleName)是否重复行
|
# 查询表中某个字段(eleName)是否重复行
|
||||||
select * from <table-name> where a="avalue" group by `eleName` having count(eleName)<>1
|
select * from <table-name> where a="avalue" group by `eleName` having count(eleName)<>1
|
||||||
|
|
||||||
|
# 按app进行分组统计金额
|
||||||
|
SELECT app as 平台, sum(total_amount) as 金额 FROM order WHERE uid=2216620 and state='PAYED' GROUP BY app;
|
||||||
|
|
||||||
|
|
||||||
# 查询某个字段不重复的记录
|
# 查询某个字段不重复的记录
|
||||||
select distinct domainKey from MetaInfo;
|
select distinct domainKey from MetaInfo;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue