यह प्रश्न काम करना चाहिए:
select version, count(*) / const.cnt
from mytable cross join
(select count(*) as cnt from mytable) const
group by version
order by version;
यह प्रश्न काम करना चाहिए:
select version, count(*) / const.cnt
from mytable cross join
(select count(*) as cnt from mytable) const
group by version
order by version;