Home > database >  Turn your SQL great spirit
Turn your SQL great spirit

Time:10-12




Can you put the red data of two merged into one, and the fifth column added 6 casually with two columns of the time which is ok! Two data in addition to the time is not the same, which are all the same!
Thank you for

CodePudding user response:

The select TDZBH TDBH, dh, TDDJ sebz, sum (tzhdyjsmj) tzhdyjsmj, Max (ssyf) ssyf, ywcj_id, sbcs_id, tdjbxx_id from ut_tdsys_skjsb_cb
Group by TDZBH TDBH, dh, TDDJ sebz, ywcj_id, sbcs_id, tdjbxx_id
  • Related