Table: secr_l_class_2
Columns: secr_no
sr_no
br_no
builder
date_delivered
date_withdrawn

Question: What is the highest BR number with a SECR number of 765?
SQL: SELECT MAX("br_no") FROM secr_l_class_2 WHERE "secr_no" = 765

Question: What is Beyer Peacock's SR number with a SECR number of 769?
SQL: SELECT AVG("sr_no") FROM secr_l_class_2 WHERE "builder" = 'beyer peacock' AND "secr_no" = 769