SyntaxFix
Write A Post
Hire A Developer
Questions
There is no funtion like rownum, row_num() in MySQL but the way around is like below:
rownum
row_num()
select @s:=@s+1 serial_no, tbl.* from my_table tbl, (select @s:=0) as s;