SELECT df.[name], df.physical_name, df.[size], df.growth, f.[name][filegroup], f.is_defaultFROM sys.database_files dfJOIN sys.filegroups fON df.data_space_id = f.data_space_id