On Wed, Jul 11, 2012 at 1:45 AM, Simon Schick wrote:
> On Sun, Jul 8, 2012 at 12:33 AM, Matijn Woudt wrote:
>>
>> Both of the results are valid outcomes. I think you don't understand
>> the GROUP BY clause well enough. The parameters in the SELECT clause,
>> should be either
>> 1) an aggregate fu
On Sun, Jul 8, 2012 at 12:33 AM, Matijn Woudt wrote:
>
> Both of the results are valid outcomes. I think you don't understand
> the GROUP BY clause well enough. The parameters in the SELECT clause,
> should be either
> 1) an aggregate function (like the max function you're using)
> 2) one of the p
On Sun, Jul 8, 2012 at 12:07 AM, Simon Schick wrote:
> Hi, All
>
> May you have an idea ...
>
> Here's the full code-example:
> http://viper-7.com/M5mldG
>
> I have the following SQL command:
>
> SELECT max(r.month+r.year*100), r.year, r.month
> FROM base b LEFT JOIN remote r ON b.id = r.remote_id
3 matches
Mail list logo