Added the SELECT statements the StyleDatabase class