mirror of https://github.com/apache/openjpa.git
correct typo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689815 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
15f6ece819
commit
991f5a7dce
|
@ -2814,7 +2814,7 @@ DISTINCT</literal> is specified.
|
||||||
The following query returns the average price of all magazines:
|
The following query returns the average price of all magazines:
|
||||||
<programlisting>SELECT AVG(mag.price) FROM Magazine mag</programlisting> The
|
<programlisting>SELECT AVG(mag.price) FROM Magazine mag</programlisting> The
|
||||||
following query returns the sum total cost of all the prices from all the
|
following query returns the sum total cost of all the prices from all the
|
||||||
magazines published by 'Larry': <programlisting>SELECT SUM(mag.price) FROM Publisher pub JOIN pub.magazines mag pub.firstName = 'Larry'
|
magazines published by 'Larry': <programlisting>SELECT SUM(mag.price) FROM Publisher pub JOIN pub.magazines mag WHERE pub.firstName = 'Larry'
|
||||||
</programlisting> The following query returns the total number of magazines:
|
</programlisting> The following query returns the total number of magazines:
|
||||||
<programlisting>SELECT COUNT(mag) FROM Magazine mag</programlisting>
|
<programlisting>SELECT COUNT(mag) FROM Magazine mag</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
|
Loading…
Reference in New Issue