1

I am new to postgres and I was following a tutorial on postgres and when I type TRUNCATE TABLE students it says relation "students" does not exists although it exists but the same command works in the tutorial

screenshot

a_horse_with_no_name
  • 497,550
  • 91
  • 775
  • 843

1 Answers1

1

Your table is located in the schema sample so you need to use:

truncate table sample.students;
a_horse_with_no_name
  • 497,550
  • 91
  • 775
  • 843