Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
for example if i have one table SELECT FROM tbl WHERE dt >=dateadd(month,-1,GETDATE() but i have two tables how can i show from current month to last one month data want to show sql queries
Posted
Comments
OriginalGriff 7-Aug-15 6:39am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Perhaps an example of your two tables, and what you are trying to get as a result would help us?
Use the "Improve question" widget to edit your question and provide better information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900