Background:
creating a database that has multiple identical inputs with unique identifiers, for example: input_option_1
, data_type_1
, input_option_2, data_type_2
, etc...
input_option_1
, data_type_1
and input_option_2
and data_type_2
are separate rows and inputs. input_option_1
, data_type_1
are row 1 and input_option_2
and data_type_2
is row 2.
Process:
when i create a simple query against the data the code looks like this:
use DB_test2
select input_option_1, data_type_1, input_option_2, data_type_2
from dbo.page_1
Output:
the output is just as what is being called out and looks like this
input_option_1 data_type_1 input_option_2 data_type_2
21 numerical 34A alphanumeric
problem:
what i am trying to do is create one column for the input_option_1
and input_option_2
and one column for data_type_1
and data_type_2
.
example:
this is what i want it to look like.
input_option data_type
21 numerical
34a alphanumeric