Warning: pg_query(): Query failed: ERROR: column "greatest" does not exist LINE 16: WHERE n.idnota =greatest ^ in /home/imagenzac/public_html/desktop/nota.php on line 24 Hay un error: ERROR: column "greatest" does not exist LINE 16: WHERE n.idnota =greatest ^