select * from devices where devgroup='0'; select * from devices where devgroup='10'; select * from devices where devgroup='20'; select * from devices where devgroup='30'; select * from devices where devgroup='40'; select * from devices where devgroup='50'; select * from devices where devgroup='60'; select * from devices where devgroup='70'; select * from devices where devgroup='80'; select * from devices where devgroup='90';