I am very new at SQL, and it is my first code. This code was successfully executed at oracle live ide when I was in the classroom, Now I downloaded datagrip and PostgreSQL. and it shows the error given. please help me out. error is in line of desc.
My code:
create table students(
StudentId int,
Name char(250),
age int
);
desc students
Error:
postgres.public> desc students
[2021-10-09 22:18:49] [42601] ERROR: syntax error at or near "desc"
[2021-10-09 22:18:49] Position: 1