GautamGadipudi / bd-assignment-5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bd-assignment-5

Running an SQL script named xyz.sql on PSQL:

  1. Connect to your PostgreSQL server from PSQL terminal by providing the connection details.
  2. Run the script xyz.sql
\i path/xyz.sql

NOTE: q1, q2, q3_1 and q3_2 can and should be run as above. q4 and q5 can also be run similarly, but the second query would override the results of the first query. So, you have to manually run each query in q4 if you want to cross-check the timings.

About