How to do following sql operation using Table.select() method in python sqlobject?

前端 未结 0 477
不思量自难忘°
不思量自难忘° 2020-12-31 15:16

Sql Operation:

    SELECT *,
        CASE
            WHEN quota_unit = \'MB\' THEN quota*1024
            ELSE quota
        END AS data_usage
    FROM mappi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题