1: 2: 3: 4: 5: 6: 7:
SELECT a.*, (SELECT COUNT(*) FROM MyTable asub WHERE Field1 = 'MyValue' AND asub.ID = a.ID) FROM MyTable a WHERE a.Feild1 = 'MyValue'