Odpowiedź:
(SELECT Data FROM wizyty WHERE Id_pacjent=1 ORDER BY Data LIMIT 1)
UNION
(SELECT Data FROM wizyty WHERE Id_pacjent=1 ORDER BY Data DESC LIMIT 1);
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
Odpowiedź:
(SELECT Data FROM wizyty WHERE Id_pacjent=1 ORDER BY Data LIMIT 1)
UNION
(SELECT Data FROM wizyty WHERE Id_pacjent=1 ORDER BY Data DESC LIMIT 1);