How to write SQL to extract the string from the 2nd and 3rd dashes on the "Campaign" column to a new column "Language".
If no 2nd and 3rd dashes, then "N/A". Thank you for your help!
| Campaign | Language |
|---|---|
| na--en-abc | en |
| na-branded | N/A |
| ap--jp-xyz | jp |
| eu-uk-en-jjj | en |
