Hello, I need some help! I need to do a query and bring the NIF's, without repeating. I do it like this:
SELECT DISTINCT NIF FROM CustomerRegistrations
But I want to bring in more columns from this table as well. But I can not do this:
SELECT DISTINCT NIF, Name, RegistrationDate FROM CustomerRegistrations
Because it will bring repeated NIF's. That is, there are NIF's with different names, but I just want to bring one. Thanks to those who help!