Table: palatine_locomotives_2
Columns: class
railway_number_s
drg_number_s
quantity
year_s_of_manufacture
axle_arrangement_uic_bauart

Question: What is average quantity, when DRG number is 99 011?
SQL: SELECT AVG("quantity") FROM palatine_locomotives_2 WHERE "drg_number_s" = '99 011'

Question: Which railway number has 3 quantity?
SQL: SELECT "railway_number_s" FROM palatine_locomotives_2 WHERE "quantity" = 3

Question: Which DRG number has xxx railway number?
SQL: SELECT "drg_number_s" FROM palatine_locomotives_2 WHERE "railway_number_s" = 'xxx'

Question: Which quantity has Axle arrangement (UIC)bauart of c n2t, and DRG number 99 093?
SQL: SELECT "quantity" FROM palatine_locomotives_2 WHERE "axle_arrangement_uic_bauart" = 'c n2t' AND "drg_number_s" = '99 093'