根据一个sql查询返回的结果,我必须决定调用哪个SQL查询。可能吗? 下面是一个演示: select start, end, max from table.
If max < 10
select ob1, ob2, start, end from t1
if max >=10 and < 50
select ob1, ob2, start, end from t2
if max >= 5
以下代码在“dollar-one”占位符处失败,我不知道为什么。我试图确定我在这里是否缺少语义,或者这是否是实际的Postgresql核心错误,可以通过下面显示的代码来支持。 -- Attempt to run the following on any database.
-- Creating the relations of the correct names etc. should not