Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help me with Sql count

Status
Not open for further replies.

unforgiven

Technical User
Dec 27, 2002
7
US
I've been trying to get this simple Sql statment to work but can't It's SelecttblTrainingClass.[tblTrainingClass_Seats]- Count(tblTrainingScheduled.[tblTrainingScheduled_ID (PK)]) AS RemainingSeats. It's just taking the value in tblTraining class seats and the counting tblTrainingScheduled_ID and then subtacting the tblTrainingClass_Seats from the count. Please in advance for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top