Jump to content

Sql Statement Help

Recommended Posts

Hi Guys, I am into SQL Query as follows:

  • Event table : need from here event_id :: this PK here and FK in Event attendee
  • Event_attendee table : need from here teacher_id:: FK here and PK in teacher table
  • Teacher table : need from here to know if male or female based on teacher_id

What I am into get the

  1. total of attendee
  2. total of male
  3. total of female

how Can I do that? Thank you in advance for any help

  • Like 2
Link to post
Share on other sites

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...