把两个字段的和作为新的字段

sql语句select top 1 name,topic+retopic as topic from [user] order by topic desc

php写法

$from = array("id","regtype","name","exch","exeng","exmath","exgen","exske","excolor","excultotal","exspetotal","(excultotal+exspetotal) as total");

相关文章:

  • 2021-08-08
  • 2021-07-27
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-09-29
  • 2022-12-23
相关资源
相似解决方案