Mysql do a query if case 1, do another query if case 2

前端 未结 0 1754
借酒劲吻你
借酒劲吻你 2021-01-19 18:31

I need a query for SCD2 in MySQL using:

DATA STRUCTURE: id, data, start_date, end_date

if the record_id exist:

-update the record\'s end_da

相关标签:
回答
  • 消灭零回复
提交回复
热议问题