Co writes "Hi,I've try to create a query to transform this table:STUDENT_ID, LAB_NO, CLS_NO, LAB_HOURS00001521 4 012629 12.8500002200 4 011995 .2500002200 4 014137 .2500002420 4 011750 4.28To this table:STUDENT_ID, LAB_NO, MESSAGE_STR00001521 4 You have 12.85 hrs. in class #01262900002200 4 You have .25 hrs. in class #011995, .25 hrs. in class #01413700002420 4 You have 4.28 hrs. in class #011750
Can it be done in one (Non-Dynamic) SQL statement?Thanks."