I would like to execute that query with MySQL (v. 5.5.41) that works fine with Oracle:
CLEAR BREAKS;
BREAK ON mq;
SELECT mq, im, pf, kmct 
FROM vehicules 
WHERE mq='Renault' 
ORDER BY mq;
CLEAR BREAKS;
This is the output Oracle builds, and what I'm looking for with MySQL :
mq       | im          | pf   | kmct
---------+-------------+------+----------
Renault  | AA-888-AA   | 4    | 3424
---------+-------------+------+----------
         | AA-999-AA   | 2    | 2042
---------+-------------+------+----------
         | BB-888-BB   | 3    | 1580
The error I get is :
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CLEAR BREAKS' at line 1
It seems like there is no implementation of the command "BREAK" in MySQL. Is that true? In that case, is there any way to simulate it?
 
    