CREATE TABLE airlines (alid VARCHAR2, name VARCHAR2)
CREATE TABLE routes (alid VARCHAR2)

Find the number of routes operated by American Airlines.
SELECT COUNT(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid WHERE T1.name = 'American Airlines'
SELECT COUNT(*) FROM "airlines" "T1" JOIN "routes" "T2" ON "T1"."alid" = "T2"."alid" WHERE "T1"."name" = 'American Airlines'