Fiddle: http://sqlfiddle.com/#!9/4d4288/6
DDL and DML:
CREATE TABLE User( id INT, Name VARCHAR(50) ); INSERT INTO User (id, Name) VALUES (1, \'Nam