Can we run MySQL query from windows command prompt? If so, how can we do that and process the query result through command prompt?
Try to use mysql — the MySQL command-line tool with '--execute=statement' or '-e statement' option.