it is showing error in savepoint when i type savepoint a; and the error is unrecognized statement type
i am running code on phpmyadmin in wamp server
This is my SQL:
START TRANSACTION
INSERT INTO class VALUES(5, 'Rahul');
COMMIT
UPDATE class SET name = 'Abhijit' WHERE id = '5';
SAVEPOINT ab;(error: unrecognized statement type)
INSERT INTO class VALUES(6, 'Chris');
SAVEPOINT B;(error : unrecognized statement type)
INSERT INTO class VALUES(7, 'Bravo');
SAVEPOINT C;(error: unrecognized statement type)
SELECT * FROM class;
it should not show error there