Skip to content

Error while performing UNION operation #224

Answered by alex-karpovich
akshah1997 asked this question in Q&A
Discussion options

You must be logged in to vote

if you are using TimeBase shell CLI

=> ?? ( 
 SELECT count{} () as count
   FROM reverse(coinbase) 
   WHERE SYMBOL == 'BTC/USD'
   GROUP BY timestamp 
)
UNION 
( 
SELECT count{} () as count
  FROM reverse(coinbase) 
  WHERE SYMBOL == 'LTC/USD'
  GROUP BY timestamp 
)
/

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@ankitsoin
Comment options

@alex-karpovich
Comment options

@ankitsoin
Comment options

@alex-karpovich
Comment options

Comment options

You must be logged in to vote
3 replies
@alex-karpovich
Comment options

@ShivaniSK
Comment options

@ShivaniSK
Comment options

Comment options

You must be logged in to vote
1 reply
@ShivaniSK
Comment options

Answer selected by alex-karpovich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants