Postgres Select Row Number Mysql Command Line