Advertising
- Mine
- Saturday, May 5th, 2012 at 11:27:37am MDT
- select jmeno,to_char(narozen,'DD-MM-YYYY') as narozen,
- round(sum(skutecnost),0) as suma_tezeb,
- round(avg(skutecnost),1) as prumer_tezeb,
- min(odpracovano) as nejkratsi,
- max(odpracovano) as nejdelsi
- from a_o_snehurce.trpaslici
- left join a_o_snehurce.tezby
- on a_o_snehurce.trpaslici.id_trpaslika=a_o_snehurce.tezby.id_trpaslika
- join a_o_snehurce.sachty
- on a_o_snehurce.tezby.id_sachty=a_o_snehurce.sachty.id_sachty
- where (to_char(den,'DD') between 10 and 20) and(to_char(den,'MM')=2) and (sachty.id_sachty=1004 or sachty.id_sachty =1002)
- group by jmeno, narozen
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.