Can anyone tell me how to create a dynamic html table that will automatically size itself to the number of records/rows requested in an SQL querry?

Cheers 'n' beers.