Thread SQL: DISTINCT: über 2 Spalten (12 answers)
Opened by pktm at 2005-02-28 16:19

pq
 2005-03-01 15:35
#33037 #33037
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
vielleicht so:
[sql]SELECT YEAR(datum1) FROM tabelle  UNION
SELECT YEAR(datum2) FROM tabelle
[/sql]
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread SQL: DISTINCT: über 2 Spalten