Question: how can select last different rows?

VIDEOS

```
idvideo name                       
1684    Uno spettacolo da rimanerci
1301    Ciao
1684    Ciamooooo
1823    Prova
1333    Prova2

```

VIDEOS\_VIEWS

```
idvideo dateview
1684    09-01-2014 11.30
1684    09-01-2014 11.31
1823    09-01-2014 11.31
1684    09-01-2014 11.32
1333    09-01-2014 11.33
1684    09-01-2014 11.34
1333    09-01-2014 11.35

```

I want this result:

```
idvideo dateview          name
1333    09-01-2014 11.35  Prova2
1684    09-01-2014 11.34  Ciamooooo
1823    09-01-2014 11.31  Prova

```

This is the query:

```
SELECT * 
FROM videos_views  
INNER JOIN videos  
    ON videos_views.idvideo = videos.idvideo 
GROUP BY videos_views.idvideo
ORDER BY MAX(videos_views.dateview)
DESC LIMIT 3

```

but is too low

Answer: 
As other suggested, the best option would be `rename` your class name, other option would be to 

```
java.lang.ProcessBuilder proc=new java.lang.ProcessBuilder("notepad.exe","testfile");

```

and

```
java.lang.ProcessBuilder pb = new java.lang.ProcessBuilder("java", "MyTest");

```

So you are explicitly telling your `javac` to use `ProcessBuilder` from `java.lang` package.
Your class `ProcessBuilder` doesn't have a constructor `ProcessBuilder(String...command)`. My guess is that you wanted to write a demo for `java.lang.ProcessBuilder`. Using the same name for the demo and the class which you try to use makes things confusing.

I suggest to rename your class to `ProcessBuilderDemo`. That will make `java.lang.ProcessBuilder` visible in the code.