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

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Sa 07.07.07 22:09 
Hi, Delpher,

was ist denn an dem folgenden Befehl falsch?

select distinct B.NAME, B.VORNAME, B.KLASSE, S.Telefon from Buecher.dbf B Schueler.dbf S where B.Name = S.Name order by B.NAME

(Er meckert bei Buecher.dbf)

Danke für Hilfe, sagt
Detlef
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Sa 07.07.07 22:14 
ausblenden SQL-Anweisung
1:
2:
3:
4:
5:
6:
select 
    distinct B.NAME, B.VORNAME, B.KLASSE, S.Telefon 
from 
    Schueler S join Buecher B on B.Name =S.Name 
order 
    by B.NAME
[sql]

_________________
Markus Kinzler.
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: Sa 07.07.07 22:39 
Hi, Markus, herzlichen Dank!
(musste allerdings noch .dbf setzen)

Grüße von Detlef, jetzt gucke ich Boxen mit Klitschko!