M
Mary
I am posting this here because i was not able to get help from the query
section..
The query below works correctly on a sample database with fewer records but
on the production database it is skipping some of the records.
Here is my query: SELECT T1.* INTO jumpFROM Table1 AS T1 INNER JOIN
table2 ON T1.ID=table2.IDWHERE (((T1.amt)<=(SELECT Max(Amt) FROM Table1 As T2
WHERE T2.ID = T1.ID AND (SELECT COUNT(*) FROM Table1 AS T3 WHERE T3.ID =
T2.ID AND T3.Amt <= T2.Amt) <= table2.Audit)));
THE PRODUCTION DATABASE IS UPLOADED HERE:
http://itismystory.com/upload/
I have uploaded a close sample of the production database. As you will see
when you run the make table. Record for ID #1 is missing even though there is
one audit record for ID#1. The result should have able 621 but it only
produce 527 records.Here is the link for that database
Ken helped me with this query. Here is the original link.
http://www.microsoft.com/office/com...ffice-access&lang=en&cr=US&sloc=en-us&m=1&p=1
Any help will be greatly appreciated as this part the assignment is causing
me not to finish this project.Thanks a million
section..
The query below works correctly on a sample database with fewer records but
on the production database it is skipping some of the records.
Here is my query: SELECT T1.* INTO jumpFROM Table1 AS T1 INNER JOIN
table2 ON T1.ID=table2.IDWHERE (((T1.amt)<=(SELECT Max(Amt) FROM Table1 As T2
WHERE T2.ID = T1.ID AND (SELECT COUNT(*) FROM Table1 AS T3 WHERE T3.ID =
T2.ID AND T3.Amt <= T2.Amt) <= table2.Audit)));
THE PRODUCTION DATABASE IS UPLOADED HERE:
http://itismystory.com/upload/
I have uploaded a close sample of the production database. As you will see
when you run the make table. Record for ID #1 is missing even though there is
one audit record for ID#1. The result should have able 621 but it only
produce 527 records.Here is the link for that database
Ken helped me with this query. Here is the original link.
http://www.microsoft.com/office/com...ffice-access&lang=en&cr=US&sloc=en-us&m=1&p=1
Any help will be greatly appreciated as this part the assignment is causing
me not to finish this project.Thanks a million