Thank you Jeremy, it works.

Le mercredi 24 avril 2013 15:32:34 UTC-7, bqst a écrit :
>
> Hi,
> I have to add the OVER clause to this :
> .select_more{round(:tracks_count / sum(:tracks_count) * 100, 
> 2).as(:tracks_prop)}
>
> To obtain something like this :
> round((("tracks_count" / sum("tracks_count")) OVER() * 100), 2) AS 
> "tracks_prop"
>
> I try :
> .select_more{round(:tracks_count / sum(:tracks_count) OVER() * 100, 
> 2).as(:tracks_prop)}
> But it didnt work.
>
> Thanks !
> Best Regards,
> Bastien
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to