New to SQL, using PostgreSQL.
I'm trying a few beginner problems, but I have a problem. To make sure I don't run into any unknown errors while testing things, I'm writing the queries in steps i.e
CREATE TABLE x(...);
...
run query..
CREATE TABLE x(...);
CREATE TABLE y(...);
run query
--- and so on.
Problem is, after I created a table, I have to delete it if I want to try and run the query again, otherwise I get the
'ERROR: relation "x" already exists.'
Seems like a trivial problem, but after looking around in stackoverflow, google, postgre's website, I haven't found anything.