【发布时间】:2017-10-16 10:00:51
【问题描述】:
我有 2 张桌子 Table1 有字段
childid, ondate, 点 1 2017 年 1 月 31 日 50 1 2017 年 2 月 28 日 77 1 2017 年 3 月 31 日 25Table2 有字段
childid,programid,从日期 1 1 01/01/2017 1 2 01/03/2017Table2 指定孩子在 01/01/2017 到 01/03/2017 期间处于 programid 1 中,之后他处于 programid 2 中。 所以我的结果应该是这样的
childid, ondate, 点 Programid 1 2017 年 1 月 31 日 50 1 1 28/02/2017 77 1 1 2017 年 3 月 31 日 25 2请帮忙
【问题讨论】:
标签: mysql sql visual-foxpro