我有两个字段数量和价格的一个表,我想乘这两个字段值: 这里就是我想这是有可能使用MYSQL如何使用Realm查询每行的乘法2单元?
Quantity| Price | Total
6 | 2 | null // should be 12
2 | 10 | null // should be 20
以上是可以做到用
SELECT
quantity, Price,
quantity* Price as 'Total'
FROM myTable
我想要使用领域查询相同的结果..我怎么能实现这一点..任何帮助将appriciated .. 谢谢。
哪个平台? Android或Swift或React-Native或...? – EpicPandaForce
for android .... –