S
Student Databaser
I need help with this. I don't know what needs to change in order to make it
work.
SELECT DEMOGRAPHIC.ORGANIZATION_TYPE
SWITCH ((( DEMOGRAPHIC.ORGANIZATION_TYPE=1,"State Health Department",
DEMOGRAPHIC.ORGANIZATION_TYPE=2,"Local Health Department",
DEMOGRAPHIC.ORGANIZATION_TYPE=3,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=4,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=5,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=6,"Public Health CBO",
DEMOGRAPHIC.ORGANIZATION_TYPE=7,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=8,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=9,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=10,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=11,"Other")));
work.
SELECT DEMOGRAPHIC.ORGANIZATION_TYPE
SWITCH ((( DEMOGRAPHIC.ORGANIZATION_TYPE=1,"State Health Department",
DEMOGRAPHIC.ORGANIZATION_TYPE=2,"Local Health Department",
DEMOGRAPHIC.ORGANIZATION_TYPE=3,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=4,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=5,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=6,"Public Health CBO",
DEMOGRAPHIC.ORGANIZATION_TYPE=7,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=8,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=9,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=10,"Other",
DEMOGRAPHIC.ORGANIZATION_TYPE=11,"Other")));