SQL statement 020207

Completed Posted Feb 2, 2007 Paid on delivery
Completed Paid on delivery

I need a simple SQL statement. I have an "Invoices" table with the following fields: invoiceID customerID A customer can have many invoices. I want to retrieve the "top invoice" for each customer, i.e. customerID 3 has invoiceID 4, 17, 83. I just want to retrieve invoiceID 83. (SQL's MAX function returns the highest invoice record in the entire table. I want the highest invoice record for a particular customer). Thanks.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

SQL statement MySQL [url removed, login to view]

Engineering MySQL PHP Software Architecture Software Testing

Project ID: #2823037

About the project

11 proposals Remote project Active Feb 2, 2007

Awarded to:

JamesFrith

See private message.

$2 USD in 1 day
(16 Reviews)
3.7

11 freelancers are bidding on average $10 for this job

TakeRealUK

See private message.

$17 USD in 1 day
(551 Reviews)
6.7
marchent

See private message.

$17 USD in 1 day
(168 Reviews)
6.3
peterjl

See private message.

$8.5 USD in 1 day
(75 Reviews)
5.3
myvisl

See private message.

$4.25 USD in 1 day
(69 Reviews)
4.6
ahmadak

See private message.

$8.5 USD in 1 day
(3 Reviews)
2.5
ksab

See private message.

$4.25 USD in 1 day
(2 Reviews)
1.8
sardarsajjad

See private message.

$42.5 USD in 1 day
(0 Reviews)
0.0
erkan57

See private message.

$4.25 USD in 1 day
(0 Reviews)
0.0
pallendev

See private message.

$4.25 USD in 1 day
(1 Review)
0.0
vilfredvw

See private message.

$12.75 USD in 1 day
(0 Reviews)
0.0
zoustos

See private message.

$4.25 USD in 1 day
(0 Reviews)
0.0