Filter table by string "starting with" in Big Query

Viewed 53

I would like to implement in BigQuery the same function I can find in stringr (R package) - as str_starts()

I would like to filter a table for all the string rows starting with "Sport - ".

I use the expression LIKE but I am not sure it works correctly...

SELECT *
FROM table_1
WHERE string LIKE '%Sport - %'
1 Answers
Related