Forum: MS SQL Jul 21st, 2008 |
| Replies: 3 Views: 1,755 My SQL statment would look like:
SELECT table1.value1, table1.value2, table2.value1
FROM table1, table2
WHERE table1.[increment number] > table2.[Value2] (here is the part I can't figure out) AND... |
Forum: MS SQL Jul 21st, 2008 |
| Replies: 3 Views: 1,755 Can anyone help? I have been fumbling around with a SQL statement for days trying to make this work. I am looking for a Statement that will output a table based on an incremented number.
Example... |
Forum: MS SQL Jul 18th, 2008 |
| Replies: 3 Views: 2,202 My rows are not numbered. Any other suggestions?
Thanks! |
Forum: MS SQL Jul 18th, 2008 |
| Replies: 3 Views: 2,202 Is there a keyword in SQL that would allow you to select a value from a field in the previous row? I am looking for something that would give me the speed field value for the row before:
SELECT... |
Forum: MS SQL Jul 18th, 2008 |
| Replies: 3 Views: 1,034 Thanks for your help. The above statement did work. But, brought on a follow up question, how can I also select the other fields in the table with this statement?
What I want is certain fields... |
Forum: MS SQL Jul 17th, 2008 |
| Replies: 3 Views: 1,034 Hopefully this will be an easy one for someone.
I am trying to write a SELECT statement that pulls the row with the least time for each Special Number.
Example data would be:
Time ... |