Mysql 我需要检索发票到期日和发票总额。
我需要检索发票到期日和发票总额 然后在查询中写入发票总额10%的条件 其他结果加上发票总额的10%。都在同一句话里 TxsMysql 我需要检索发票到期日和发票总额。,mysql,Mysql,我需要检索发票到期日和发票总额 然后在查询中写入发票总额10%的条件 其他结果加上发票总额的10%。都在同一句话里 Txs select invoice-due_date, invoice_total, invoice_total+invoice_total*.1+(UP)*.1 as newprice from table
select invoice-due_date, invoice_total, invoice_total+invoice_total*.1+(UP)*.1 as newprice
from table