最佳答案
Sqlite 中的除法返回整数值
sqlite> select totalUsers/totalBids from
(select (select count(*) from Bids) as totalBids ,
(select count(*) from Users) as totalUsers) A;
1
我们可以对结果进行类型化以得到除法结果的真实值吗?