CREATE TABLE table_name_37 (satu_mare INT, baia_mare INT)

What is the smallest Satu Mare value associated with Baia Mare over 523?
SELECT MIN(satu_mare) FROM table_name_37 WHERE baia_mare > 523
SELECT MIN("satu_mare") FROM "table_name_37" WHERE "baia_mare" > 523