Handle select * case.