Autor Beitrag
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Mi 01.07.09 15:48 
Jetziger Stand:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
      format('select S.name, S.punkte, S.geschlecht, S.klasse ' +
             'from "%s" S ', [table2.tablename]) +
      format('where punkte = (select max(punkte) ' +
             'from "%s" F ', [table2.tablename]) +
             'where F.klasse = S.klasse and ' +
             '  F.geschlecht = S.geschlecht ' +
             'group by S.klasse, S.geschlecht)';


Meldung: Operation nicht anwendbar.
Detlef (ich sitze hier bei 34,7°C, echt)

_________________
ut vires desint, tamen est laudanda voluntas
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Mi 01.07.09 17:04 
@benny: Fehlermeldung: Merkmal nicht verfügbar. Ich habe so adaptiert:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
format('SELECT s.klasse, s.geschlecht, s.name, s.vorname, s.punkte ' +
             'FROM "%s" S INNER JOIN "%s" T ON (s.name = t.name) and (s.vorname = t.vorname) and (s.klasse = t.klasse) ' +
             'WHERE s.punkte = MAX(t.punkte) ' +
             'GROUP BY s.klasse, s.geschlecht ' +
             'ORDER BY s.klasse, s.geschlecht', [table2.tablename, table2.tablename]);


Detlef

_________________
ut vires desint, tamen est laudanda voluntas
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Mi 01.07.09 21:53 
@ Peter:

Kann ich denn ein anderes FrontEnd einbinden und wenn ja, welches?

Gruß, Detlef [aufgeben is nich ] :D

_________________
ut vires desint, tamen est laudanda voluntas
Robert.Wachtel
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 895
Erhaltene Danke: 7

Windows 7 Ultimate x64
D5 Ent, D7 Arch, RAD Studio 2010 Pro, VS 2008
BeitragVerfasst: Mi 01.07.09 22:08 
Dein Frontend ist nicht das Problem, das Backend ist es.

Nimm ein vernünftiges RDBMS oder vergiss die ganzen intelligenten SQL-Konstrukte - das kann Paradox nicht.
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Mi 01.07.09 22:14 
Schade, schade!
Frage beantwortet?

Schnief, Detlef

_________________
ut vires desint, tamen est laudanda voluntas