Try select * from libvolumes , OR select count from libvolumes , But not both in the same command.....