I have this table:
ID NUM TIPO CANTIDAD FECHA
451 225 36 60000 2018-05-16
452 225 37 60000 2018-05-16
453 225 38 00001 2018-05-07
454 225 39 60000 2018-05-16
455 225 40 00000 2018-05-07
456 226 36 00001 2018-05-07
457 226 37 00001 2018-05-07
458 226 38 00001 2018-05-07
459 226 39 00001 2018-05-07
460 226 40 00001 2018-10-28
461 225 41 00001 2018-05-07
462 226 41 00001 2018-05-07
463 225 42 00001 2018-05-09
464 226 42 61000 2018-06-18
465 225 36 60150 2018-11-17
466 226 41 3 2018-11-17
and I want to obtain the maximum values of the column quantity for each TYPE and for each NUM, without repeating the types. (The ID is an automatic, it does not work for the consultation)
Thanks in advance