Mysql에서 Oracle ROWNUM 처럼 번호매기기

SELECT @num:=@num+1 num, b.good
FROM (SELECT @num:=0) a, test b