fetchall to fetchone for seed