![]() |
![]() |
![]()
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 |
|
|
![]() |
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 19:37 |