I have this code to generate a table
Create table "Socio"
(
"Dni" Char(20) NOT NULL,
"Correo" Char(40),
"Nombre" Char(20),
"Contrase_a" Char(20),
"Puntos" Numeric Check (puntos >=0),
primary key ("Dni")
) Without Oids;
And I get the error
ERROR: no existe la columna «puntos»
HINT: Probablemente quiera hacer referencia a la columna «Socio.Puntos».
When I correct it, it gives me another error
ERROR: falta una entrada para la tabla «socio» en la cláusula FROM