Einzelnen Beitrag anzeigen

EDatabaseError

Registriert seit: 11. Mai 2005
Ort: Göppingen
1.238 Beiträge
 
Delphi 2007 Professional
 
#1

[php] MySQL Query über 2 Tabellen

  Alt 9. Jan 2007, 19:54
Ich habe 2 MySQL Tabellen in denen Datums/Zeitinformationen mit einer Information gespeichert sind.

Wie kann ich nun ein Query machen das mir beide Tabellen nach Datum und Zeit ausgibt.

Bsp:

Table1
11/12/1234 - 12:34 - Foo1
13/12/1234 - 12:34 - Foo2

Table2
11/12/1234 - 22:22 - Foo3
12/12/1234 - 12:34 - Foo4

Die Ausgabe sollte nun so aussehen:

11/12/1234 - 12:34 - Foo1
11/12/1234 - 22:22 - Foo3
12/12/1234 - 12:34 - Foo4
13/12/1234 - 12:34 - Foo2


Leider weiß google auch nicht so recht weiter...

Danke!

Mfg
Tobi
Tobias
It's not a bug, it's a feature.
  Mit Zitat antworten Zitat