SlideShare a Scribd company logo
1 of 1
Download to read offline
Oracle PL/SQL Substr and Instr: I have a view (not table) with column names USERNAME,
DEPARTMENT, FINANCE (FN), RESOURCES(HR), BUDGET(BD), from a table called Groups. I
need to make the Department into a GROUP and SUBGROUP by using substr and instr to
separate the different parts of the departments. I need to see the view return Username, Group,
Subgroup, FN, HR, and BD. For example, If a department is called MC-DOLL-FN then I need it to
be returned as MC-DOLL in the group, and FN in the subgroup. Please help.

More Related Content

More from advanceg

Orak hcreli anemi genellikle homozigot bireyler iin lmc.pdf
Orak hcreli anemi genellikle homozigot bireyler iin lmc.pdfOrak hcreli anemi genellikle homozigot bireyler iin lmc.pdf
Orak hcreli anemi genellikle homozigot bireyler iin lmc.pdfadvanceg
 
Options Autosomal sex influence dominant in females Xlinke.pdf
Options Autosomal sex influence dominant in females Xlinke.pdfOptions Autosomal sex influence dominant in females Xlinke.pdf
Options Autosomal sex influence dominant in females Xlinke.pdfadvanceg
 
or the following function Create appropriate comments for.pdf
or the following function  Create appropriate comments for.pdfor the following function  Create appropriate comments for.pdf
or the following function Create appropriate comments for.pdfadvanceg
 
options 1pectineus lesser trochanter to linea aspera .pdf
options    1pectineus lesser trochanter to linea aspera   .pdfoptions    1pectineus lesser trochanter to linea aspera   .pdf
options 1pectineus lesser trochanter to linea aspera .pdfadvanceg
 
Optimal foraging Describe in your own words the optimal for.pdf
Optimal foraging Describe in your own words the optimal for.pdfOptimal foraging Describe in your own words the optimal for.pdf
Optimal foraging Describe in your own words the optimal for.pdfadvanceg
 
Operating Systems Design Please answer this question correc.pdf
Operating Systems Design Please answer this question correc.pdfOperating Systems Design Please answer this question correc.pdf
Operating Systems Design Please answer this question correc.pdfadvanceg
 
Operating system class Consider a RAID level 5 organization .pdf
Operating system class Consider a RAID level 5 organization .pdfOperating system class Consider a RAID level 5 organization .pdf
Operating system class Consider a RAID level 5 organization .pdfadvanceg
 
operating system Lets say you have two or more applicatio.pdf
operating system Lets say you have two or more applicatio.pdfoperating system Lets say you have two or more applicatio.pdf
operating system Lets say you have two or more applicatio.pdfadvanceg
 
On July 1 2020 Concord Ltd borrowed 15500 by signing a .pdf
On July 1 2020 Concord Ltd borrowed 15500 by signing a .pdfOn July 1 2020 Concord Ltd borrowed 15500 by signing a .pdf
On July 1 2020 Concord Ltd borrowed 15500 by signing a .pdfadvanceg
 
On July 1 2021 Truman Company acquired a 70 percent intere.pdf
On July 1 2021 Truman Company acquired a 70 percent intere.pdfOn July 1 2021 Truman Company acquired a 70 percent intere.pdf
On July 1 2021 Truman Company acquired a 70 percent intere.pdfadvanceg
 
On June 30 Year 3 Finch Companys total current assets we.pdf
On June 30  Year 3 Finch Companys total current assets we.pdfOn June 30  Year 3 Finch Companys total current assets we.pdf
On June 30 Year 3 Finch Companys total current assets we.pdfadvanceg
 
On July 12021 Oriole Satellites Corporation issued 1200.pdf
On July 12021 Oriole Satellites Corporation issued 1200.pdfOn July 12021 Oriole Satellites Corporation issued 1200.pdf
On July 12021 Oriole Satellites Corporation issued 1200.pdfadvanceg
 
On January 2 Year 4 Poplar Ltd purchased 80 of the outst.pdf
On January 2 Year 4 Poplar Ltd purchased 80 of the outst.pdfOn January 2 Year 4 Poplar Ltd purchased 80 of the outst.pdf
On January 2 Year 4 Poplar Ltd purchased 80 of the outst.pdfadvanceg
 
On January 1 Ivanhoe Company issued 482000920year bon.pdf
On January 1 Ivanhoe Company issued 482000920year bon.pdfOn January 1 Ivanhoe Company issued 482000920year bon.pdf
On January 1 Ivanhoe Company issued 482000920year bon.pdfadvanceg
 
On January 1 2025 Crane Corporation had 960000 shares of .pdf
On January 1 2025 Crane Corporation had 960000 shares of .pdfOn January 1 2025 Crane Corporation had 960000 shares of .pdf
On January 1 2025 Crane Corporation had 960000 shares of .pdfadvanceg
 
On January 1 Cullumber Corporation purchased a 25 equity i.pdf
On January 1 Cullumber Corporation purchased a 25 equity i.pdfOn January 1 Cullumber Corporation purchased a 25 equity i.pdf
On January 1 Cullumber Corporation purchased a 25 equity i.pdfadvanceg
 
On July 31 2025 Ivanhoe Company had a cash balance per boo.pdf
On July 31 2025 Ivanhoe Company had a cash balance per boo.pdfOn July 31 2025 Ivanhoe Company had a cash balance per boo.pdf
On July 31 2025 Ivanhoe Company had a cash balance per boo.pdfadvanceg
 
On July 1 Plum Company paid 7500 cash for management servi.pdf
On July 1 Plum Company paid 7500 cash for management servi.pdfOn July 1 Plum Company paid 7500 cash for management servi.pdf
On July 1 Plum Company paid 7500 cash for management servi.pdfadvanceg
 
On June 13 the board of directors of Siewert Incorporated .pdf
On June 13  the board of directors of Siewert Incorporated .pdfOn June 13  the board of directors of Siewert Incorporated .pdf
On June 13 the board of directors of Siewert Incorporated .pdfadvanceg
 
On January 1 2024 Oriole Satellites Ltd issued 148mill.pdf
On January 1 2024 Oriole Satellites Ltd issued 148mill.pdfOn January 1 2024 Oriole Satellites Ltd issued 148mill.pdf
On January 1 2024 Oriole Satellites Ltd issued 148mill.pdfadvanceg
 

More from advanceg (20)

Orak hcreli anemi genellikle homozigot bireyler iin lmc.pdf
Orak hcreli anemi genellikle homozigot bireyler iin lmc.pdfOrak hcreli anemi genellikle homozigot bireyler iin lmc.pdf
Orak hcreli anemi genellikle homozigot bireyler iin lmc.pdf
 
Options Autosomal sex influence dominant in females Xlinke.pdf
Options Autosomal sex influence dominant in females Xlinke.pdfOptions Autosomal sex influence dominant in females Xlinke.pdf
Options Autosomal sex influence dominant in females Xlinke.pdf
 
or the following function Create appropriate comments for.pdf
or the following function  Create appropriate comments for.pdfor the following function  Create appropriate comments for.pdf
or the following function Create appropriate comments for.pdf
 
options 1pectineus lesser trochanter to linea aspera .pdf
options    1pectineus lesser trochanter to linea aspera   .pdfoptions    1pectineus lesser trochanter to linea aspera   .pdf
options 1pectineus lesser trochanter to linea aspera .pdf
 
Optimal foraging Describe in your own words the optimal for.pdf
Optimal foraging Describe in your own words the optimal for.pdfOptimal foraging Describe in your own words the optimal for.pdf
Optimal foraging Describe in your own words the optimal for.pdf
 
Operating Systems Design Please answer this question correc.pdf
Operating Systems Design Please answer this question correc.pdfOperating Systems Design Please answer this question correc.pdf
Operating Systems Design Please answer this question correc.pdf
 
Operating system class Consider a RAID level 5 organization .pdf
Operating system class Consider a RAID level 5 organization .pdfOperating system class Consider a RAID level 5 organization .pdf
Operating system class Consider a RAID level 5 organization .pdf
 
operating system Lets say you have two or more applicatio.pdf
operating system Lets say you have two or more applicatio.pdfoperating system Lets say you have two or more applicatio.pdf
operating system Lets say you have two or more applicatio.pdf
 
On July 1 2020 Concord Ltd borrowed 15500 by signing a .pdf
On July 1 2020 Concord Ltd borrowed 15500 by signing a .pdfOn July 1 2020 Concord Ltd borrowed 15500 by signing a .pdf
On July 1 2020 Concord Ltd borrowed 15500 by signing a .pdf
 
On July 1 2021 Truman Company acquired a 70 percent intere.pdf
On July 1 2021 Truman Company acquired a 70 percent intere.pdfOn July 1 2021 Truman Company acquired a 70 percent intere.pdf
On July 1 2021 Truman Company acquired a 70 percent intere.pdf
 
On June 30 Year 3 Finch Companys total current assets we.pdf
On June 30  Year 3 Finch Companys total current assets we.pdfOn June 30  Year 3 Finch Companys total current assets we.pdf
On June 30 Year 3 Finch Companys total current assets we.pdf
 
On July 12021 Oriole Satellites Corporation issued 1200.pdf
On July 12021 Oriole Satellites Corporation issued 1200.pdfOn July 12021 Oriole Satellites Corporation issued 1200.pdf
On July 12021 Oriole Satellites Corporation issued 1200.pdf
 
On January 2 Year 4 Poplar Ltd purchased 80 of the outst.pdf
On January 2 Year 4 Poplar Ltd purchased 80 of the outst.pdfOn January 2 Year 4 Poplar Ltd purchased 80 of the outst.pdf
On January 2 Year 4 Poplar Ltd purchased 80 of the outst.pdf
 
On January 1 Ivanhoe Company issued 482000920year bon.pdf
On January 1 Ivanhoe Company issued 482000920year bon.pdfOn January 1 Ivanhoe Company issued 482000920year bon.pdf
On January 1 Ivanhoe Company issued 482000920year bon.pdf
 
On January 1 2025 Crane Corporation had 960000 shares of .pdf
On January 1 2025 Crane Corporation had 960000 shares of .pdfOn January 1 2025 Crane Corporation had 960000 shares of .pdf
On January 1 2025 Crane Corporation had 960000 shares of .pdf
 
On January 1 Cullumber Corporation purchased a 25 equity i.pdf
On January 1 Cullumber Corporation purchased a 25 equity i.pdfOn January 1 Cullumber Corporation purchased a 25 equity i.pdf
On January 1 Cullumber Corporation purchased a 25 equity i.pdf
 
On July 31 2025 Ivanhoe Company had a cash balance per boo.pdf
On July 31 2025 Ivanhoe Company had a cash balance per boo.pdfOn July 31 2025 Ivanhoe Company had a cash balance per boo.pdf
On July 31 2025 Ivanhoe Company had a cash balance per boo.pdf
 
On July 1 Plum Company paid 7500 cash for management servi.pdf
On July 1 Plum Company paid 7500 cash for management servi.pdfOn July 1 Plum Company paid 7500 cash for management servi.pdf
On July 1 Plum Company paid 7500 cash for management servi.pdf
 
On June 13 the board of directors of Siewert Incorporated .pdf
On June 13  the board of directors of Siewert Incorporated .pdfOn June 13  the board of directors of Siewert Incorporated .pdf
On June 13 the board of directors of Siewert Incorporated .pdf
 
On January 1 2024 Oriole Satellites Ltd issued 148mill.pdf
On January 1 2024 Oriole Satellites Ltd issued 148mill.pdfOn January 1 2024 Oriole Satellites Ltd issued 148mill.pdf
On January 1 2024 Oriole Satellites Ltd issued 148mill.pdf
 

Recently uploaded

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Recently uploaded (20)

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 

Oracle PLSQL Substr and Instr I have a view not table wi.pdf

  • 1. Oracle PL/SQL Substr and Instr: I have a view (not table) with column names USERNAME, DEPARTMENT, FINANCE (FN), RESOURCES(HR), BUDGET(BD), from a table called Groups. I need to make the Department into a GROUP and SUBGROUP by using substr and instr to separate the different parts of the departments. I need to see the view return Username, Group, Subgroup, FN, HR, and BD. For example, If a department is called MC-DOLL-FN then I need it to be returned as MC-DOLL in the group, and FN in the subgroup. Please help.