So I want to create a new column called "Quarters" and then for every line in my existing table create 4 new lines with 1,2,3,4 inserted as the quarters and then divide the field "FPAYG_Quota" by 4 to now make that a quarter quota
SELECT
1 as Quarter,
FP.ClientOffice,
FP.FPAYG_Quota
FROM `commercial-analysis.2022_AM_Territory.FPAYG_Quotas` as FP
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.