Jump to content

query help pls.


techker

Recommended Posts

hey guys in a DB  i have multiple fields

 

 

1 F_ID

2 Nom

3 Foyer

4 Matiere

5 Prof

6 Motif

7 Notes_Sortie

8 Travail

9 Code_P

10 Date_Rempli

11 Surveillant

12 Comportement

13 C_Notes

14 Status

15 Status_Date

16 Bilan

17 Latreve_status

18 Heure_S

19 User_ID

20 Periode

 

Now i wan't to query Foyer so it shows all the Foyer.and show at the same time how many students are in this Foyer..

 

so my query to show all the Foyer is to add Group By Foyer.but how can i add how many students?

 

goup By Foyer and count(Nom)

 

cause a student is associated to a foyer.(foyer is a type of division)

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.