I run the following SQL code from a public dataset:
SELECT station_id,name
FROM bigquery-public-data.new_york_citibike.citibike_stations
WHERE station_id IN (Select start_station_id from bigquery-public-data.new_york_citibike.citibike_trips
where usertype='Subscriber')
It is shown the message Cannot execute IN subquery with uncomparable types STRING and INT64.
The station_id is string and start_station_id is integer.
Can someone help with this please?
Thanks
Panos
I expected to run a query but it was shown an error message