I'm trying to query a Bigtable column value with standard SQL in BigQuery:
#standardSQL
SELECT
default.blah.cell.value
FROM
mycategory.mytable
WHERE
rowkey LIKE '123%'
I receive the error:
Error: Syntax error: Unexpected keyword DEFAULT at [3:3]
The above query works fine in legacy SQL, but not in standard SQL.
Selecting the rowkey only does work in #standardSQL:
#standardSQL
SELECT
rowkey
FROM
mycategory.mytable
WHERE
rowkey LIKE '123%'
How can I select a column value in standard SQL, as the first query in this post is trying to do?