Find Jobs
Hire Freelancers

Write 1 sql query and 1 xquery

$30-250 USD

Törölve
Kiadva ekkor: körülbelül 9 évvel ezelőtt

$30-250 USD

Teljesítéskor fizetve
1) PHP + SQL Database: [login to view URL] A web page is required that shows the average number of bikes available at TFL bike stations at a particular time of day as a proportion of the station capacity. The page connects to the online tflBikes database and generates HTML content in real time using PHP and MySQL. It must contain a table with rows representing each station that is within a square cell with sides of length 1050m that is centered on the bike station at Emperor's Gate, South Kensington over a 11 hour period commencing at 6am. Each row of the table must show four items of data from left to right in this order: the average number of bikes available at the specified time of day; this number as a percentage of station capacity; the station name; the postcode. The average number of bikes and the percentage of capacity must be presented to a precision of 1 decimal place. The table must be ordered by percentage of capacity so that stations with the most bikes available on average are at the top. The page must be robust enough to accommodate updates to the database as time progresses, such as changes in the locations (but not names) of the stations and continue to return correct information. Accordingly the MySQL query can contain the focus station name, and the times of day but no coordinates and no names of other stations. 2) XML db: [login to view URL] Live data about bike station status are scraped from the TFL web site in an XML document. An XQuery is required to generate HTML output from the XML documents that are streamed from the TFL site. Use this file to generate an XQuery that processes data of this format. You can use the XQuery system BaseX we've used in the lectures. The HTML that is generated must contain a list of all stations that have ... the same number of bikes currently docked, and at least as many empty docks ...Emperor's Gate, South Kensington. Each list element in your output must contain the number of empty docks, the number of bikes, and the station name. The list itself must be ordered by the number of empty docks and then alphabetically by station name where numbers of empty docks are equal. The list you generate must use exactly the HTML format shown below. <li>## empty, ## bikes @ STATIONNAME</li>
Projektazonosító: 7477732

A projektről

1 ajánlat
Távolról teljesíthető projekt
Aktiválva: 9 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
1 szabadúszó adott átlagosan $444 USD összegű árajánlatot erre a munkára
Felhasználó avatár
hey, can you please explain better? where the information about the bike come from? im not sure i fully understood what you need to be done
$444 USD 3 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

NETHERLANDS zászlója
den haag, Netherlands
5,0
6
Fizetési mód hitelesítve
Tagság kezdete: nov. 5, 2013

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.