我正在尝试运行使用sbt test编译成-test.jar的测试:package并将Jar文件复制到另一个项目的lib目录中
我试过这样做如下
SELECT SUM(p.price) as totalrevenue FROM transaction_table t JOIN price_tb p ON p.priceid = t.pricefk WHERE MONTH(t.transactiondate) = MONTH(CURRENT_DATE())
AND YEAR(t.transactiondate) = YEAR(CURRENT_DATE())