473,474 Members | 1,781 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

SQL to retrive 1 month data which is 4 months old

1 New Member
I need an sql which will retrieve data for last 1 month which is 4 months old. eg if today is 1/8/2016 then need data for whole April.Also condition is if my sql is run on any day of the current month it should still retrieve data from 1st of April for whole month.
Aug 12 '16 #1
1 1857
Cbold
6 New Member
Are your dates correct? Wouldn't four months old be September 2015?
Aug 16 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
seshu
by: seshu | last post by:
Hi everybody this is seshu i have a small doubt while designing an application in my application i am supposed to use a query to retrive the data asume names and purchase...
1
by: sonasiva | last post by:
Dear all iam new for ASP I have data in database as like as follows Name company shares date A x ...
2
by: Divas | last post by:
Dear Sir Please help me for below question. How check the System.DbNull values from database when we retrive the data from databa Thanx
5
Inbaraj
by: Inbaraj | last post by:
Hi.. In oracle i am having 100 tables each contains more then 500 records... Due to virus attack i lost the C drive (OS) in my PC but i installed oracle in D: drive. No i want to retrive the...
1
by: kalpu123 | last post by:
how to create retrive the data from database for every 2 minutes
0
by: Yogesh Dhiman | last post by:
Dear Sir / Madam, I know that thru the VB script we can retrieve the data from Oracle Database. Can u plz help out that thru which connectivity the Data can retrieved ?? Regds Yogesh
3
by: hemangajit | last post by:
Hi, I am developing a Asp.NET application which makes use of AJAX for some of the database updation operations. In one case I am posting the data I want to process on the server side using...
4
by: mfaisalwarraich | last post by:
Hi everyone, I need to get the records for the current month from two tables. I know how to do it with one table. im using the following query for it: SELECT * FROM mytable WHERE...
5
by: Rena Wilson | last post by:
I am trying to create a query that pulls information that is 12 months out. I need this to change every month. The syntax I have now will only pull exactly 12 months out, i.e. today is 5 Dec 11 and...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.