add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
create table mytable (
startdate datetime not null,
noofdays int not null,
enddate datetime as (startdate + interval noofdays day)
)
insert into mytable (startdate, noofdays) values(now(), 3);
select * from mytable;
startdate noofdays enddate
2023-07-17 10:45:58 3 2023-07-20 10:45:58