CREATE TABLE status (station_id VARCHAR, bikes_available INT)
CREATE TABLE station (id VARCHAR, name VARCHAR)

What are the id and name of the stations that have ever had more than 12 bikes available?
SELECT DISTINCT T1.id, T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12
SELECT DISTINCT "T1"."id", "T1"."name" FROM "station" AS "T1" JOIN "status" AS "T2" ON "T1"."id" = "T2"."station_id" AND "T2"."bikes_available" > 12