jeudi 30 août 2018

Create mysql sum column when multiple other columns are true

I want to create a column in mysql workbench where there is a sum of the duration of a behaviour when multiple columns (e.g condition, trial, subject, behaviour type...) are the same.

I am relatively new to working in sql and have so far mostly just used it for extracting data. Is this something that is possible? If so how do I go about it?

Thanks :)

Aucun commentaire:

Enregistrer un commentaire