Create a view in AWS Athena by merging two SQL queries using Union All

Today we will lean on how to create a view in AWS Athena by merging multiple queries result in one query

To merge multiple queries in Athena, we will be creating a view in Athena by using:
  • With common table expression (CTE) to hold the result of each query in a separate temp table
  • Union ALL to merge multiple queries results
    • To use Union keyword, both queries should return exact same columns
  • Once the view is created, run the view to see the result of two queries merged into one view

Comments

  1. Casino Gaming in Fort McDowell, NC - Go Go Go Casino
    We offer a casino and hotel with over 100 games 홀덤 족보 to choose from! Whether you're looking for 블랙잭애니 something to do 파라오 사이트 in a 토토 사이트 홍보 friendly locale, enjoy 킹스 포커 the excitement of

    ReplyDelete

Post a Comment