There is a table of the form:
NAME | DATE | INFO | SPEC
Bob | 01.01.2010 | Text1 | Student
Ann | 02.02.2020 | Text2 | Secretary
Bob | 01.01.2010 | Text1 | Student
John | 03.03.2030 | Text3 | Tester
Bob | 01.01.2010 | Text1 | Student
How can I get a table (in request) like this:
NAME | DATE | INFO | SPEC
Bob | 01.01.2010 | Text1 | Student
Ann | 02.02.2020 | Text2 | Secretary
John | 03.03.2030 | Text3 | Tester
PS: These variants aren't working:
SELECT DISTINCT Name, Date, Info, Spec FROM Table
SELECT DISTINCT * FROM Table
SELECT Name, Date, Info, Spec FROM Table GROUP BY Name, Date, Info, Spec
SELECT * FROM Table GROUP BY Name, Date, Info, Spec