以下SQL在MySQL 5.6中运行良好:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/portafirmes/applets/" href="output.jnlp">
<information>
<title>NotAnymoreAnApplet</title>
<vendor>Me</vendor>
</information>
<resources>
<property name="jnlp.packEnabled" value="true"/>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<jar href="signer-applet.jar" main="true" download="eager"/>
<jar href="jackson-core-asl-1.9.0.jar" download="eager"/>
<jar href="jackson-mapper-asl-1.9.0.jar" download="eager"/>
</resources>
<security>
<all-permissions/>
</security>
<application-desc main-class="es.gematic.AppletSignatura">
<argument>*ARGUMENT IN HERE*</argument>
<update check="background"/>
</application-desc>
</jnlp>
但是在MySQL 5.7中,这会产生以下错误:
SELECT 10 AS total,
(SELECT total * 10) AS cost
我相当确定这与ONLY_FULL_GROUP_BY有关,但我不确定如何解决我所得到的问题。
有人可以帮忙吗?