title: ERROR: relation "student_id_seq" does not exist SQL state: 42P01
body: <p>I have the following SQL code:</p>
  
  <pre><code>-- Table: public.student
  
  -- DROP TABLE public.student;
  
  CREATE TABLE public.student
  (
  
     id integer NOT NULL DEFAULT nextval('student_id_seq'::regclass),
     country character varying(30) COLLATE pg_catalog."default" NOT NULL,
     email character varying(30) COLLATE pg_catalog."default" NOT NULL,
     first_name character varying(255) COLLATE pg_catalog."default" NOT NULL,
     last_name character varying(255) COLLATE pg_catalog."default" NOT NULL,
     section character varying(255) COLLATE pg_catalog."default" NOT NULL,
     sex character varying(255) COLLATE pg_catalog."default" NOT NULL,
     CONSTRAINT student_pkey PRIMARY KEY (id)
  )
  WITH (
    OIDS = FALSE
  ) 
  TABLESPACE pg_default;
  
  ALTER TABLE public.student
  OWNER to postgres;
  </code></pre>
  
  <p>My query does not execute</p>
  
  <blockquote>
    <p>ERROR:  relation "student_id_seq" does not exist
    SQL state: 42P01</p>
  </blockquote>