Please Consider the following table :

As you can see the Name column has some repeated values with is a group like
I need to have a query so I can fetch just the first row of a group something like this:

Please take in to account that I need the fastest way because the real table is not like that and could have lots of data to be filter that way.
Thanks in advance.
this depends greatly on how you define ‘the first in the group’
something like this: