correct typo

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689815 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2008-08-28 13:38:14 +00:00
parent 15f6ece819
commit 991f5a7dce
1 changed files with 1 additions and 1 deletions

View File

@ -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>