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 4110916
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:59:51+00:00 2026-05-20T21:59:51+00:00

I have one table EMPLOYEEMASTER contains ’emp id’ as 1,2,3,4….. The date is between

  • 0

I have one table “EMPLOYEEMASTER” contains ’emp id’ as 1,2,3,4…..

The date is between 21 of one month to 20 of the next month…..

EMPLOYEEMASTER
--------------
emp id       name     
------       ----
1            anil
2            babu
3            anitha

i want the sql statement for getting like

emp id         date
------         ----
1              21/03/2011
1              22/03/2011
1              23/03/2011
1              24/03/2011
.              .
.              .

.              .
.
1              30/03/2011
1              01/04/2011
.              .
.              .
1              19/04/2011
1              20/04/2011
2              21/04/2011
2              22/04/2011
.....

plz help me?…

  • 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-20T21:59:52+00:00Added an answer on May 20, 2026 at 9:59 pm

    I’m going to assume that there is also a table that includes the employee id and their begin/end dates too…

    SELECT a.Id, b.BeginDate, b.EndDate
    FROM EMPLOYEEMASTER As a
    LEFT JOIN EMPLOYEEDATES As b --whatever table the id and dates are in
    ON a.Id = b.Id
    

    “Generic questions get generic answers”

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

Sidebar

Related Questions

I have one table called Mydata with date,name,address columns this table is having more
I have one table configuration_variables(name,value). It contains configuration variables for my symfony-application such as
I have one table with name CateringPurchaseOrder. That table contains one column with name
I have one table which contains events and dates, and another which contains the
i have one table TABLE_SUBJECT And i pass subject name to DBHelper.java. Then i
I have one table: dbo.Product Two columns: SKU Name --- ---- 100A-B (F102397) 1
I have one table reports, which contains all info and read reports which just
I have one (items [id, name, color, size, etc] ) table with more than
i have one table, which contains that fields mid , email 1 , 'user_a@...'
I have one table: horse ->id ->course ->date Another one: course ->title ->trackstyle And

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.