Guest User

Untitled

a guest
Jan 20th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. SELECT CASE WHEN data1 > data2 THEN data1 ELSE data2 END AS data, STAMP FROM
  2. (SELECT STAMP, max(mc.data1) as data1, max(mc.data2) as data2 FROM
  3. transaction_history mc LEFT JOIN orderdetails gc on mc.id = gc.id where
  4. gc.order_name in ('xxx','yyy') AND time >= 135689 AND time <= 137692) AS TBL
  5.  
  6. org.hibernate.hql.ast.QuerySyntaxException exception saying unexpected token "(".
Add Comment
Please, Sign In to add comment