user: Question: what is the lowest apparent magnitude when the object type is spiral galaxy, the constellation is leo minor and the ngc number is more than 3021?
Columns: ['NGC number', 'Object type', 'Constellation', 'Right ascension ( J2000 )', 'Declination ( J2000 )', 'Apparent magnitude']
Types: ['real', 'text', 'text', 'text', 'text', 'real']
Sample row: [3021.0, 'Spiral galaxy', 'Leo Minor', '09h50m57s', '°33′15″', 12.2]
SQL:

assistant: SELECT MIN("Apparent magnitude") FROM "Table" WHERE "Object type" = 'spiral galaxy' AND "Constellation" = 'leo minor' AND "NGC number" > 3021.0;