This question could be rephrased to, \"Using a programmatically generated range in FILTER()\" depending on the approach one takes to answer it.
EDIT- It seems that I ina
I have no idea what you want to achieve but take a look at this:
={'Data Import'!1:1; FILTER('Data Import'!1:10000, 'Data Import'!D:D < 12)}
or:
=QUERY(FILTER('Data Import'!1:10000, 'Data Import'!D:D < 12), "select * label Col4 'student.grade'", 0)