Mysql – insert to to table with if case
can anyone help me with this query? is it possible to do something like this? I am very new to sql. table1 'userJobId' have 2 coloumn userid and jobgroupid, table2 'tbl14userJob' have a14userID and a14jobID as coloumn. I need to…