SQL Records Questions and Answers

Recent IT Questions

1 - 2 of 2
<<PREVIOUS 1 NEXT>>

Making two records into one

I was not sure on how to word the title of my questions, so it is better if I simply give you my query and result: SELECT DISTINCT PJ.EMPL_NUM, (CASE WHEN PAY_TYPE = 1 THEN RATE ELSE 0 END) AS REG_RATE, (CASE WHEN PAY_TYPE = 3 THEN RATE ELSE 0 END) AS OVR_RATE FROM...

View Answer   |  May 22 2009  7:16 PM GMT
CASE statement, SQL Records
asked by Fscopel

  15 pts.

How do I limit my SQL output to one record per student?

Current resuls: Student ID: Guardian 2 Joe 2 Mary 3 Goldie 4 JIm Needed results: Student ID: Guardian 2 Joe 3 Goldie 4 Jim

View Answer   |  Apr 3 2009  3:51 PM GMT
SQL Query, SQL Output, SQL Records
asked by Richieg

  5 pts.

1 - 2 of 2
<<PREVIOUS 1 NEXT>>