postgres=# create table mariexshx (id int generated always as identity primary key, val1 int, val2 text, val3 date);
CREATE TABLE
postgres=# insert into mariexshx (val1, val2, val3) values (42, 'zweiundvierzig', current_date);
INSERT 0 1
postgres=# select * from mariexshx;
id | val1 | val2 | val3
----+------+----------------+------------
1 | 42 | zweiundvierzig | 2022-06-06
(1 row)
postgres=# update mariexshx set val1=10, val2=null where id = 1;
UPDATE 1
postgres=# select * from mariexshx;
id | val1 | val2 | val3
----+------+------+------------
1 | 10 | | 2022-06-06
(1 row)
postgres=#