CREATE TABLE resultsdata15 (sample_pk DECIMAL, commod TEXT, commtype TEXT, lab TEXT, pestcode TEXT, testclass TEXT, concen DECIMAL, lod DECIMAL, conunit TEXT, confmethod TEXT, confmethod2 TEXT, annotate TEXT, quantitate TEXT, mean TEXT, extract TEXT, determin TEXT)
CREATE TABLE sampledata15 (sample_pk DECIMAL, state TEXT, year TEXT, month TEXT, day TEXT, site TEXT, commod TEXT, source_id TEXT, variety TEXT, origin TEXT, country TEXT, disttype TEXT, commtype TEXT, claim TEXT, quantity DECIMAL, growst TEXT, packst TEXT, distst TEXT)

Which varieties of apple typically have higher pesticide levels?
SELECT T1.variety FROM resultsdata15 AS T2 JOIN sampledata15 AS T1 ON T1.sample_pk = T2.sample_pk WHERE T2.commod = "AP" GROUP BY T1.variety ORDER BY SUM(T2.concen) DESC LIMIT 1
SELECT "T1"."variety" FROM "resultsdata15" AS "T2" JOIN "sampledata15" AS "T1" ON "T1"."sample_pk" = "T2"."sample_pk" WHERE "AP" = "T2"."commod" GROUP BY "T1"."variety" ORDER BY SUM("T2"."concen") DESC NULLS LAST LIMIT 1