Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> UNION a ORDER BY ?
beel
post
Post #1





Grupa: Zarejestrowani
Postów: 87
Pomógł: 0
Dołączył: 20.04.2007

Ostrzeżenie: (0%)
-----


Dlaczego nie moge w ten sposob polaczyc zapytan:

SELECT TOP 1 name, type, score, sex FROM student, score, event
WHERE student.student_id=score.student_id AND event.event_id=score.event_id
AND sex='M' AND type='T' ORDER BY score

UNION


SELECT TOP 1 name, type, score, sex FROM student, score, event
WHERE student.student_id=score.student_id AND event.event_id=score.event_id
AND sex='M' AND type='T' ORDER BY score DESC
Go to the top of the page
+Quote Post

Posty w temacie
- beel   UNION a ORDER BY ?   30.04.2007, 20:33:17
- - Cienki1980   Zamykam Proszę zapoznać się z Tematyką i zasadami...   30.04.2007, 20:36:40


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 09:01