Table: arabic_numerals
Columns: binary
octal
decimal
hexadecimal
glyph

Question: What is the sum of the glyph with a binary less than 111001, an octal less than 65, and a hexadecimal less than 30?
SQL: SELECT SUM("glyph") FROM arabic_numerals WHERE "binary" < 111001 AND "octal" < 65 AND "hexadecimal" < 30

Question: What is the average hexadecimal with a decimal less than 53, an octal less than 61, and a glyph greater than 0?
SQL: SELECT AVG("hexadecimal") FROM arabic_numerals WHERE "decimal" < 53 AND "octal" < 61 AND "glyph" > 0

Question: What is the lowest octal with a 30 hexadecimal and less than 0 glyphs?
SQL: SELECT MIN("octal") FROM arabic_numerals WHERE "hexadecimal" = 30 AND "glyph" < 0

Question: What is the average hexadecimal with a decimal greater than 57?
SQL: SELECT AVG("hexadecimal") FROM arabic_numerals WHERE "decimal" > 57

Question: What is the average decimal with a 110010 binary and a glyph greater than 2?
SQL: SELECT AVG("decimal") FROM arabic_numerals WHERE "binary" = 110010 AND "glyph" > 2

Question: What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000?
SQL: SELECT SUM("glyph") FROM arabic_numerals WHERE "hexadecimal" = 38 AND "binary" < 111000