Need to create a trigger that increments a value in a table after insertion
问题 I'm currently having a problem with triggers on a current prototype of a game database i'm working on So, I have these two tables CREATE TABLE public.hunters ( id integer NOT NULL, name character varying(30) COLLATE pg_catalog."default" NOT NULL, weapon character varying(30) COLLATE pg_catalog."default" NOT NULL, ranking character varying(30) COLLATE pg_catalog."default" NOT NULL, nhunts integer NOT NULL, sex character(1) COLLATE pg_catalog."default" NOT NULL, title character varying(30)