Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1.  
  2. SELECT v.code_vari ,v.libe_vari,c.surf ,ea.code_acti,a.libe_acti, p.code_unit_affi, c.dens_bass,ea.code_cult,c.libe_cult
  3. FROM elem_acti_produit ea, culture c,activite a , produit p, unite_affichage u, variete v
  4. WHERE ea.code_prod=p.code_prod and
  5. date_heur_debu>='20190701 00:00:00' and
  6. date_heur_debu<='20190731 23:59:59' and
  7. v.code_vari=c.code_vari and
  8. ea.code_cult=c.code_cult and
  9. ea.code_acti=a.code_acti and
  10. a.flag_reco='O' and
  11. v.code_vari in ('CDP','CLOD','LUMI','ORAN','RUBIS','TGP','TORI',' ') and
  12. p.code_cate_prod in (1,2,3,4)
  13. group by v.code_vari,v.libe_vari,c.surf ,ea.code_acti,a.libe_acti, p.code_unit_affi, c.dens_bass,ea.code_cult,c.libe_cult
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement