How can i create duplicate records based the value in another table
问题 I have two tables in my database, Work_Order table which is the source table where work order information's stored i also have Work_Schedule table which contains work schedules which tell peoples in the production floor what to build, when and how much to build. Work_Order Table looks like Work order ItemCode Size Qty Qty_per_HR 41051 600111 14L-16.1 55 10 I want duplicate the above work order line in work order table above based on the Qty per hour and automatically create a work scheduler