-
Das ist zugegeben etwas mühsam:
Select Key, sum(spalte1) as spalte1, sum(0) as spalte2, sum(0) as spalte3, ... from myfile
where ...
Group by Key
union
select Key, sum(0) as spalte 1, sum(splate2) as spalte2, sum(0) as spalte3, ... from myfile
where ...
Group by Key
union
select Key, sum(0) as spalte1, sum(0) as spalte2, sum(spalte3) as spalte3, ... from myfile
where ...
Group by Key
Order by Key
Dieses Muster kannst du ja nun auf deine 2*12-Monatsspalten erweitern.
Viel Spaß beim tippen
Similar Threads
-
By Bratmaxxe in forum NEWSboard Programmierung
Antworten: 4
Letzter Beitrag: 24-01-07, 20:17
-
By christian_lettner in forum NEWSboard Programmierung
Antworten: 2
Letzter Beitrag: 16-11-06, 11:15
-
By cbe in forum IBM i Hauptforum
Antworten: 4
Letzter Beitrag: 24-08-06, 18:30
-
By loeweadolf in forum NEWSboard Programmierung
Antworten: 2
Letzter Beitrag: 01-06-06, 10:43
-
By Jenne in forum IBM i Hauptforum
Antworten: 1
Letzter Beitrag: 22-08-05, 12:37
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks