Skip to content
Advertisement

sqlalchemy simple example of `sum`, `average`, `min`, `max`

For sqlalchemy, Who can gently give simple examples of SQL functions like sum, average, min, max, for a column (score in the following as an example).

As for this mapper:

Advertisement

Answer

See SQL Expression Language Tutorial for the usage. The code below shows the usage:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement