473,395 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

making sql statement



fDate fProduc a b c
05/03/06 aa 8 1 1
05/03/06 bb 0 5 5
05/05/06 aa 2 9 7
05/08/06 aa 9 2 5
05/11/06 cc 6 0 8
05/12/06 aa 0 7 0
05/13/06 bb 1 4 2
05/16/06 bb 6 6 9

after query

fDate fProduc a b c stock
05/03/06 aa 8 1 1 0
05/03/06 bb 0 5 5 0
05/05/06 aa 2 9 7 12
05/08/06 aa 9 2 5 10
05/11/06 cc 6 0 8 0
05/12/06 aa 0 7 0 17
05/13/06 bb 1 4 2 3
05/16/06 bb 6 6 9 6
*** Sent via Developersdex http://www.developersdex.com ***
May 27 '06 #1
1 1112

"x taol" <to******@yahoo.com> wrote in message
news:PY*************@news.uswest.net...


fDate fProduc a b c
05/03/06 aa 8 1 1
05/03/06 bb 0 5 5
05/05/06 aa 2 9 7
05/08/06 aa 9 2 5
05/11/06 cc 6 0 8
05/12/06 aa 0 7 0
05/13/06 bb 1 4 2
05/16/06 bb 6 6 9

after query

fDate fProduc a b c stock
05/03/06 aa 8 1 1 0
05/03/06 bb 0 5 5 0
05/05/06 aa 2 9 7 12
05/08/06 aa 9 2 5 10
05/11/06 cc 6 0 8 0
05/12/06 aa 0 7 0 17
05/13/06 bb 1 4 2 3
05/16/06 bb 6 6 9 6
*** Sent via Developersdex http://www.developersdex.com ***


Please explain what you're trying to achieve. What are the columns a, b & c?
How do you got your calculations for the stock?

Jeff
May 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Willam Roberts | last post by:
To me, when you enumerate, you make a list of specific items, like enumerating controls in a form. Am I missing something? I mean is there something more to the meaning of the term "enumeration" or...
7
by: Sens Fan Happy In OH | last post by:
I'm having majour issues with FrontPage 2K and a webpage that I am having to create from scratch based on someone else's prior work. I hope someone can look at the source code for the page in...
36
by: spence | last post by:
Hi All How do I make it so that when a user clicks in a search text field, the default entry (in this case "Search") is removed automatically - they are then faced with a blank search box and...
10
by: smorrey | last post by:
Hello all, this might better be suited for the MySQL newsgroup, but I figured I'ld post here and see if anyone can help me. I'm trying to create a simple transaction handling system where users...
85
by: masood.iqbal | last post by:
I know that this topic may inflame the "C language Taleban", but is there any prospect of some of the neat features of C++ getting incorporated in C? No I am not talking out the OO stuff. I am...
37
by: yogpjosh | last post by:
Hello All, I was asked a question in an interview.. Its related to dynamically allocated and deallocated memory. eg. //start char * p = new char; ...
3
by: Yong | last post by:
I get a general network error when I try to make asynchronously call ExecuteNonQuery on long sql statements that run in parallel. Here is the background info on what I'm trying to accomplish: I...
351
by: CBFalconer | last post by:
We often find hidden, and totally unnecessary, assumptions being made in code. The following leans heavily on one particular example, which happens to be in C. However similar things can (and...
14
by: Ben Voigt | last post by:
Under certain circumstances I get: First-chance exception at 0x7c812a5b (kernel32.dll) in LTMGUI.exe: 0xC0020001: The string binding is invalid. First-chance exception at 0x7c812a5b (kernel32.dll)...
3
by: ThaDoctor | last post by:
Hi.... I would just like to know about whether I can make more than one test in one for statement... As I would like to know this in relation to a project I am working on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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,...

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.