Du kan bruge følgende løsning:
SELECT * FROM table_name WHERE NOT ID IN (
SELECT MIN(ID) FROM table_name GROUP BY TICKETNO
)
Du kan bruge følgende løsning:
SELECT * FROM table_name WHERE NOT ID IN (
SELECT MIN(ID) FROM table_name GROUP BY TICKETNO
)