1
Why even if I filter to return only the fiat manufacturer, keeps returning other values?
SELECT FABRICANTE, MODELO, VALOR_DIARIA FROM VEICULO
WHERE VALOR_DIARIA = (SELECT MIN(VALOR_DIARIA) FROM VEICULO WHERE FABRICANTE = 'FIAT')
Upshot:
FABRICANTE MODELO VALOR_DIARIA
------------------------------ ------------------------------ ------------
VOLKSWAGEN GOL 80
FIAT PALIO 80
but the exercise asks me to present the manufacturer and the vehicle model with lower daily value and I wanted to filter to appear only fiat car
– Harry
In this case you will have to use one more criterion. Ask yourself the question: If there is more than one with the same daily rate, what to do? Present both? Prioritize some?
– Daniel Cedraz
haha gave right friend, thank you very much, by the way I could not pass in the correct way what I want to the bank, I appreciate the attention!!
– Harry
Glad you decided! You’re welcome! What you need we’re here! Hug!
– Daniel Cedraz