Mysql: Order an SQL Querry by fastest response Time : So i have a SQL-Querry

```
SELECT number, ResponseTime, TicketCreateTime, round(time_to_sec(timediff(ResponseTime, TicketCreateTime))/60,2) AS FRMins FROM (SELECT TE.id, T.number, T.ticket_id, TE.thread_id, TE.pid, T.created AS TicketCreateTime, TE.created AS ResponseTime, TE.type, TE.staff_id FROM ost_ticket T     INNER JOIN ost_thread_entry TE ON T.ticket_id = TE.thread_id WHERE TE.type = 'N' OR TE.type = 'R'  AND TE.id IN (SELECT min(id) FROM ost_thread_entry WHERE type = 'N' OR type = 'R' GROUP BY thread_id)) AS FTRT_tbl; 
```
[Table][1]

But my goal ist to have only one of the number and it should be this one with the lowest FRMins. I tried it in many diffrent ways, but i don't get it right.


I'm sorry if this is written a little weird. This is my first post and I honestly have no idea how to ask the question well.


  [1]: https://i.stack.imgur.com/Z7lM9.png