How would I go about storing one column in a database in a Array?

And then how would I extract those results from the array?