Jump to content
TNG Community

Frequency of causes of death?


Appelmus

Recommended Posts

Hello!
I use a report by H.Savinije to show the frequency of certain causes of death.

SELECT cause AS cause_of_death, COUNT(*) AS total FROM tng_events WHERE cause<>"" AND parenttag="DEAT" GROUP BY cause_of_death ORDER BY cause_of_death;

This query doesn't work for me. I have recorded the cause of death under a custom event (_CAUS).

How do I change the query to specify the frequency of events recorded in the custom cause of death (_CAUS)?

Best regards

A.

Link to comment
Share on other sites

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...