I have one more variation on my translation stuff.

Trying to translate this sql:

select *
from MyTable M1
where
  M1.LANG_CODE5 = 'FR_fr'
  or (
    M1.LANG_CODE5 = 'EN_en'
    AND NOT EXISTS(
      SELECT 1 FROM MyTable M2 where M2.CODE_ID = M1.CODE_ID and M2.LANG_CODE5 
= 'FR_fr'
    )
  )


to SA, I can't figure out how to represent "select 1 from mytable".

May I ask again for some tips on this.

Thanks
Werner

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to