Hiya, I have a table listing 2000 item_names such as 'coastal', 'mountain', 'rescue' and so on. Each of these items has a task_id which represents the amount of time that may elapse before the 'item_instructions' for each item should be completed. I need to reformat the task_id column so that the task_id of each item has a incrementing prefix (shown in the far right column). The incrementing id re-starts at 01/... for each new item in the table. Note: The ItemID column is not a auto-generated or sequential number. This information is being converted from an excel spreadsheet to import in a sql table. Can you help? Can this be done?
ItemID Item_Names Item_instructions Task_Id (New task_id)
360000 Rescue Rescue info … 01:00 01/01:00
360001 Rescue Rescue info … 00:07 02/00:07
360002 Rescue Rescue info … 00:10 03/00:10
360003 Rescue Rescue info … 00:12 04/00:12
398001 Coastal Coastal info … 00:12 01/00:12
398002 Coastal Coastal info … 00:17 02/00:17
398003 Coastal Coastal info … 00:20 03/00:20
398004 Coastal Coastal info … 00:25 04/00:25
360004 Mountain Mountain info… 00:16 01/00:16
360005 Mountain Mountain info… 00:20 02/00:20
360006 Mountain Mountain info… 00:25 03/00:25
360007 Mountain Mountain info… 00:27 04/00:27
360008 Mountain Mountain info… 00:30 05/00:30
ItemID Item_Names Item_instructions Task_Id (New task_id)
360000 Rescue Rescue info … 01:00 01/01:00
360001 Rescue Rescue info … 00:07 02/00:07
360002 Rescue Rescue info … 00:10 03/00:10
360003 Rescue Rescue info … 00:12 04/00:12
398001 Coastal Coastal info … 00:12 01/00:12
398002 Coastal Coastal info … 00:17 02/00:17
398003 Coastal Coastal info … 00:20 03/00:20
398004 Coastal Coastal info … 00:25 04/00:25
360004 Mountain Mountain info… 00:16 01/00:16
360005 Mountain Mountain info… 00:20 02/00:20
360006 Mountain Mountain info… 00:25 03/00:25
360007 Mountain Mountain info… 00:27 04/00:27
360008 Mountain Mountain info… 00:30 05/00:30