CREATE TABLE table_12472 ("State" CLOB, "Type" CLOB, "Name" CLOB, "Title" CLOB, "Royal house" CLOB, "From" CLOB)

What is the type for Duke when the from is 512 bc?
SELECT "Type" FROM table_12472 WHERE "Title" = 'duke' AND "From" = '512 bc'
SELECT "Type" FROM "table_12472" WHERE "From" = '512 bc' AND "Title" = 'duke'