将两列连接到WebSQL中的一个结果集列

时间:2014-03-21 05:47:40

标签: jquery sql sqlite web-sql

我想在web sql中运行这种查询

SELECT ID,
       (StartTime+EndTime) AS TimePeriod 
  FROM Department

请别人指导我。感谢

1 个答案:

答案 0 :(得分:3)

结果:

   SELECT ID, 
          StartTime || EndTime AS TimePeriod 
     FROM Department