MediaWiki:Query:Overview

From FridaV

Jump to: navigation, search
 
  SELECT xmlelement(name a, xmlattributes('/srv/map/'||date||'/' as href),to_char(date,'YYYY-MM-DD Dy')) as date,
  SELECT xmlelement(name a, xmlattributes('/srv/map/'||date||'/' as href),to_char(date,'YYYY-MM-DD Dy')) as date,
 +
              name,
 +
            xmlelement(name a, xmlattributes(frida.data_url(date,vehicle_id) as href),files) as files,
               pings, positions, bssids, waypoints, tracks, itracks, media, pmedia,  
               pings, positions, bssids, waypoints, tracks, itracks, media, pmedia,  
-
               xmlelement(name a, xmlattributes(city_url as href),city_url) as city
+
               xmlelement(name a, xmlattributes(city_url as href),px.basename(city_url)) as city
-
   FROM frida.overview
+
   FROM frida.overview_date_vehicle
   WHERE date IS NOT NULL  
   WHERE date IS NOT NULL  
       AND date >= date'2004-01-01'
       AND date >= date'2004-01-01'
-
   ORDER BY date DESC
+
   ORDER BY to_char(date,'YYYY-MM-DD Dy') DESC

Current revision as of 22:49, 25 September 2011

Personal tools
maps, graphs & data