我想计算命名"成功率"在一个表中使用此2查询。
第一个是
SELECT sum(`session count`) as success
FROM itsqm_trubex._d_itqsm_tmenu
where `statusCode` in ('00000000', '00008006');
第二个是
SELECT sum(`session count`) as total FROM itsqm_trubex._d_itqsm_tmenu;
如果我想要的结果是(success / total) * 100%
?