Assistance writing efficient SQL queries

Fertiggestellt Veröffentlicht Apr 1, 2006 Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

Need assistance writing some efficient SQL statements to query a table containing hotel room data. Database is MySQL 4.0.25.

The table contains the following fields:

NameOfResort (like "Holiday Inn," Marriott," and so on)

NameOfVendor (e.g., Expedia, Travelocity, Orbitz, etc)

NightOfStay (e.g., "2006-04-30" for April 30, 2006)

Cost (in US Dollars, as a float)

The table contains many tens of thousands of rows. I'll probably need help creating maybe 10 queries in SQL.

The main query would be to find the least expensive hotels that have available rooms for an arbitrary stay of N nights, beginning on any day. (With N and "any day" user-defined.)

All of the SQL statements must run in MySQL [url removed, login to view], as that's not changable. I'd like to have all of the queries written and tested by April 7.

## 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

MySQL [url removed, login to view] on Linux and Windows.

Ingenieurwesen MySQL PHP Softwarearchitektur Testen von Software

Projekt-ID: #3398980

Über das Projekt

12 Vorschläge Remote Projekt Aktiv Apr 1, 2006

Vergeben an:

maeenul

See private message.

$42.49 USD in 5 Tagen
(159 Bewertungen)
5.8

12 Freelancer bieten im Durchschnitt $59 für diesen Job

javaoraclepro

See private message.

$85 USD in 5 Tagen
(167 Bewertungen)
7.5
kaldragon

See private message.

$68 USD in 5 Tagen
(59 Bewertungen)
5.8
senseit

See private message.

$34 USD in 5 Tagen
(36 Bewertungen)
4.7
ssabvw

See private message.

$12.75 USD in 5 Tagen
(37 Bewertungen)
4.7
zerojinx

See private message.

$63.75 USD in 5 Tagen
(15 Bewertungen)
4.0
kicktd

See private message.

$46.75 USD in 5 Tagen
(20 Bewertungen)
3.7
jpwrsvw

See private message.

$127.5 USD in 5 Tagen
(8 Bewertungen)
3.4
lenaw70

See private message.

$42.5 USD in 5 Tagen
(9 Bewertungen)
2.7
bluegenesol

See private message.

$25.5 USD in 5 Tagen
(13 Bewertungen)
1.0
painbones

See private message.

$85 USD in 5 Tagen
(0 Bewertungen)
0.0
sandeepsaxenavw

See private message.

$70.55 USD in 5 Tagen
(2 Bewertungen)
0.0