Postgres Select Row Number Mysql Command Prompt