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

  • SEARCH
  • Home
  • 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 8654609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:49:50+00:00 2026-06-12T14:49:50+00:00

I have this query: Select * From Player_Chkin_Cs That spits out the result: Player_ID

  • 0

I have this query:

Select * 
From Player_Chkin_Cs

That spits out the result:

Player_ID     CS_ID   CS_LISTING_ID  CS_COMP_NAME   PT_ADD  CREATE_DTIME   UUID
 179364        300      60132          Wilshire       3      22-DEC-10     (null)
 179364        320      68968          Wilshire       30     28-JAN-10     (null)
 132489        200      55168          Wilshire       13     03-Jan-10     (null)
 132489        900      65478          Wilshire       23     15-Feb-10     (null)

I want to create a query that returns the player_ids of only players who have create_dtimes that fall in both the ranges of 01-Dec-10 to 31-Dec-10 AND 01-Jan-10 to 31-Jan-10.(aka only Player_ID 179364 would show up in the results of this example)

Please let me know if you have any suggestions!

  • 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-06-12T14:49:52+00:00Added an answer on June 12, 2026 at 2:49 pm

    One option would be

    SELECT player_id,
           COUNT(DISTINCT trunc(create_dtime, 'MM')) num_months
      FROM player_chkin_cs
     WHERE trunc(create_dtime,'MM') IN (date '2010-12-01', date '2010-01-01')
     GROUP BY player_id
    HAVING COUNT(DISTINCT trunc(create_dtime, 'MM')) = 2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a query that spits out a result: Select Sum(Count(P.Create_Dtime)), From Player P
i have this query, $sql = select old_team_id from transfers where player_id = $player_id
I have this simple query: Select To_Date('2012-sep-03','yyyy-mon-dd')as Date_Of_Concern, Count(Player_Id) as Retained From Player Where
I have this query: SELECT * From checkfinale where AssociateID = 51 AND `CompletedDate`
I have this query: SELECT * FROM sample INNER JOIN test ON sample.sample_number =
Let's say I have this query: select * from table1 r where r.x =
Hi guys I am having issue I have this query: SELECT * FROM useraccount
i have this sql query select * from table where name like ? but
I have used this query before: SELECT * FROM stone_list WHERE type IN ('ALEXANDRITE','AMETHYST')
I have this query: SELECT COUNT(articles.id) AS count FROM articles, xml_documents, streams WHERE articles.xml_document_id

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.