Skip to content

Instantly share code, notes, and snippets.

@newbiethetest
Created February 12, 2014 07:07
Show Gist options
  • Save newbiethetest/8951185 to your computer and use it in GitHub Desktop.
Save newbiethetest/8951185 to your computer and use it in GitHub Desktop.
数据库某表TABLE_1内容如下:
LINE_A LINE_B
a 1
a 2
b
b 3
c
c
d 7
d 8
d
求一SQL语句,取完后的数据如下
LINE_A LINE_B
a 2
b 3
c
d 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment