房天下 > 房天下问答 > 业主生活 > 其他
  • plsql 查询结果

    问一个SQL的问题比如一个表的内容是a 1b 2c 4d 6怎么才能把结果拼成这样a 1b 2 a 1c 4 b 2d 6 c 4 d 6

    提问者:搜鹰网

    发布于2011-01-11

共1个回答
  • 唐韵青鸟 丨Lv 4
    要加一列序列号colum1,select * from <table_name> t1,<table_name> t2,where t1.colum1(+)=t2.colum1+1unitselect * from <table_name> t1,<table_name> t2,where t1.colum1=t2.colum1+1(+)
    +1 2011-01-12 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。