I have a stored SQL query that in the query builder returns a table with all of the distinct years in my database. Is there any way to put this information into an array? I have been trouble using the data since the "schema" that the query returns is different than my database.
Thanks!