![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 22.03.2010 Ostrzeżenie: (0%) ![]() ![]() |
Jak pobrać cały rekord dla jednej maksymalnej wartości np. mam w bazie:
TABELA: PRODUKT | CENA ------------|--------- produkt a | 1 produkt b | 3 produkt c | 2 select max(cena) from tabela zwróci mi: 3 a ja bym chciał produkt b | 3 czyli coś w stylu select * from tabela where cena=max |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 10:36 |