Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Queries

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-13-2009, 12:57 AM
Novice
 
Join Date: Jan 2009
Posts: 1
flamingo is on a distinguished road
Default write a query how to???

Hi,

I have a tricky SQL query problem that I'm having probs with.

I have a table which resembles something like this

Date | Price1 | Price2 | Price3
01 Jan 2006 | 100 | 100 | 100
02 Jan 2006 | 100 | 100 | 150
03 Jan 2006 | 100 | 100 | 100
04 Feb 2006 | 115 | 100 | 100
05 Feb 2006 | 115 | 100 | 110
06 Feb 2006 | 115 | 115 | 115
07 Mart 2006 | 115 | 100 | 100
08 Mart 2006 | 100 | 100 | 100
09 Mart 2006 | 100 | 100 | 100

and I want to write a query/view that will return this

Date | Price1 | Price2 | Price3
Jan 300 | 300 | 350
Feb 345 | 315 | 325
Mar 315 | 300 | 300

i want sum using between example:
Between 1.1.2009 and 1.31.2009
how to do this
Thanxs
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Write text to text box on a form DKY Programming 0 10-08-2008 09:34 AM
Subform is Read Only, cant seem to make Read/Write, PL HELP! snag46ed Forms 2 10-19-2006 02:37 PM


All times are GMT -8. The time now is 08:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.