Difference between revisions of "Workdocumentation 2020-08-26"
(→Tabelle) |
|||
| Line 122: | Line 122: | ||
order by length(acronym) desc limit 150 | order by length(acronym) desc limit 150 | ||
</pre> | </pre> | ||
| − | = Tabelle = | + | == Tabelle == |
{|- class='wikitable sortable' | {|- class='wikitable sortable' | ||
|- | |- | ||
Revision as of 08:31, 28 August 2020
Contents
Acronyme, die für mehrere Events verwendet wurden
Beispiel:
{{#ask:[[Acronym::WWW 2011]]}}
SQL-Query
sqlite3 Datenbank von http://ptp.bitplan.com verwendet ...
select '|-n| [[' || acronym || ']]' as acronym, '||{{#ask:[[Acronym::' || acronym || ']]}}' as events, '||' || count(*) as anzahl
from event_or
group by acronym
having(count(*)>1)
order by acronym
-n muss noch mit editor auf "\n" geändert werden damit die Tabelle unten gefüllt werden kann:
Betroffene Events
Sehr lange Acronyme
SQL Query
select '|-n| [[' || acronym || ']]' as acronym, '||[[:' || title || ']]' as event, '||' || length(acronym) as acronymLen from event_or order by length(acronym) desc limit 150