Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dhanya
Starting Member
1 Post |
Posted - 2011-07-12 : 10:47:53
|
I have my output in grid view in the following format.| outlook | < overcast > | yes | < rainy > | wind | < strong > | no | < weak > | yes | < sunny > | humidity | < high > | no | < normal > | yes | yes and no are my class values which is the answer.i want this grid view to populate a sql data table like the following.those within | | can come under parent and child column of data table based on conditions.those within < > are branches.yes and no come under class column only.the attribute outlook has 3 values-overcast,rainy and sunnywind has 2 values-strong and weakhumidity has 2 values-high and normalid ---- parent-------branch------child-----class1 ----outlook-------overcast---- ----yes2------outlook-------rainy-------wind3-------outlook-------sunny------humidity4-------wind----------strong------ ----no5-------wind-----------weak------- ------yes6-------humidity-------high------ ------no7--------humidity-------normal--- -------yesplease give me suggestions of how to do it |
|
|
|
|