本文介绍了如何将两个sql查询与'/'组合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好b $ b

我在表格tab1中有名单,ex

name1 values

aaa 1

bbb 1

ccc 1

ddd 2



i希望输出像

name1

4/3



4 - 列中没有排

3 - 没有行的值= 1



任何建议请............

解决方案

Hi
I have list of names in the table tab1,ex
name1 values
aaa 1
bbb 1
ccc 1
ddd 2

i want the output like
name1
4/3

4-no of row in the column
3-no of row having value=1

Any suggestion pls............

解决方案


这篇关于如何将两个sql查询与'/'组合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-13 05:32