'relation "students" does not exist [duplicate]

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



Solution 1:[1]

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

truncate table sample.students;

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 a_horse_with_no_name