Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6060229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:48:06+00:00 2026-05-23T08:48:06+00:00

I have a member Table with member_Id a mmship table with columns mmshipstart date

  • 0

I have a member Table with member_Id

a mmship table with columns mmshipstart date and member_Id and mshipstatus_Id

another table mshipstatustype with columns mshipstatus_Id and mshipstatus_name

I have got mshipstatus_name row value is prospective……

how do i get the number of members(count) per month those are having mshipstatusname is prospective

can i get the count starting from mmshipstart date .

would any one help me out…

I am new to joins would any one pls help….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:48:07+00:00Added an answer on May 23, 2026 at 8:48 am

    The following should do the trick:

    SELECT COUNT(*)
    FROM member inner join mmship
       ON member.member_Id = mmship.member_Id
       INNER JOIN mshipstatus
       ON mshipstatus.mshipstatus_Id = mmship.mshipstatus_Id
    WHERE mshipstatus.mshipstatusname = 'prospective'
       AND MONTH(mmship.mmshipstart_date) = MONTH(GETDATE())
    

    (you can change the getdate() with another date).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a member table with columns member_id member_lastname member_firstname i have another table
I have member table member_Id Last name first name postcode reference another table memberstomships
I have a member table member_Id member_Firstname another table Paymentschedules paymentschedule_Id member_Id paymentschedule_amountdue values(100
I have a visit table with columns member_id visit_id visit_logout_datetime(values like this... ' now
I have a custom DataContext with a Table member... Entry is defined as... [Table(Name=Entry)]
I have 2 database tables that looks like this Subscriptions table member_id active 5
I Have a Phone Book With a Share table and a Member table The
I have a Member Table with fields MemID - Primary Key Business_Name Business_Address Business_Phone
I have Visit table Visit_Id Visit_Date values(09-09-2011) Visit_status values like (accepted , refused) member_Id
I have five models and their respective tables are Member:id,fname,lname Student:id,member_id(foreign key references member

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.