reporting capital gain by broker totals

Do I have to list every investment shown on the Broker 1099-B form or can I show the net gain (loss) on schedule D and attach the brokers 1099-B listing the individual the investments sold?