Run SQL file using PSql client in Postgres Db on windows 10

Most of the time people struggle with running the postgres sql file with psql from the command prompt Prequisites: - Postgres need to be install on your windows 10 machine - psql.exe path must be included in Environment variable path Create an sql file with the command "SELECT Now()" and save with name test.sql . To run this file open command prompt and navigate to the file path.run command >...