小编JoT*_*aRo的帖子

mysql select in another select group: how many people in downline?

Hello i've a table similar to this one:

id     sponsor     name
------------------------
1      0          Sasha
2      1          John
3      1          Walter
4      3          Ashley
5      1          Mark
6      4          Alexa       
7      3          Robert
8      3          Frank
9      4          Marika
10     5          Philip
11     9          Elizabeth
Run Code Online (Sandbox Code Playgroud)

when i choose an ID (call it MYCHOICE) i want know all the name of people who has sponsor like MYCHOICE... is simply:

select * from tablename where sponsor=MYCHOICE

but... here is the problem... i …

mysql select group-by

5
推荐指数
1
解决办法
400
查看次数

CSS负三角形,倒圆角

您好,可以在矩形的中心创建一个倒圆角的三角形,就像在许多着陆页中一样.如下图所示:

在此输入图像描述

我在这里找到了类似的东西,但没有倒圆角 CSS倒三角形图像叠加

css rounded-corners css3 css-shapes

1
推荐指数
1
解决办法
1227
查看次数

标签 统计

css ×1

css-shapes ×1

css3 ×1

group-by ×1

mysql ×1

rounded-corners ×1

select ×1