CREATE TABLE table_name_7 (line_name VARCHAR2, nimt_junction VARCHAR2)

What line has Junction of Huntly NIMT
SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly"
SELECT "line_name" FROM "table_name_7" WHERE "huntly" = "nimt_junction"