     """
     {:ok, result} = SQL.query(Repo, query, [])
     [[count]] = result.rows
-    # IO.inspect(result)
     count
   end
 

        { :integer, i } -> {:id, i}
        { :string, s }  -> {:Name,s}
      end
#     query = """
# SELECT DISTINCT D.confidentiality,D.public FROM ProbeSetFreeze AS D
# WHERE #{subq}
# """

    query = from x in ProbeSetFreeze,
      select: {x.confidentiality, x.public},
      where: field(x, ^field_name) == ^field_value,

  end

  def menu_datasets(species, group, type) do
    query = from tab_species in Species,
      join: inbredset in InbredSet,
      on: tab_species.id == inbredset."SpeciesId",
