Jump to content
TNG Community

reports


Appelmus

Recommended Posts

Hello!

When I draw up a report on professions, I get a repeat of the same professions as a result.
How can I formulate the query to create a type of job with the number of its frequency?

Bildschirmfoto 2019-02-15 um 08.29.05.png

Best regards

Appelmus

PS

How can I prevent output as a csv file?

Link to comment
Share on other sites

Works for me in 12.0.3

But if you just want a summary of occupations with the subtotal of occurrences:

SELECT info as Occupation, count(info) FROM tng_events  Group by Occupation order by count(info) DESC;

the CSV file can be opened/viewed in Excel

Link to comment
Share on other sites

Hello Michael and Scott, now it works

But Michael's proposal was in line with what I already had (see above). Only more columns were issued.

jobs-mamo.jpg

Scott's proposal basically brings what I want, but the issue is not limited to professions, but provides a diverse collection of counted events

annaeherung.jpg

Can this be changed? Unfortunately, I have no idea how to formulate such a database request.

Thanks for your help

Appelmus

Link to comment
Share on other sites

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...