as follows
insert into tablea(a,b,c) select a,b,'valuec' from tableb