Stop building select * queries