problema para consultar datos filtrados por fecha de la tabla de fusión

I'm trying to write a small javascript code to query data filtered by date.

If I write the following sentence in my browser, I can get data : " Date, Poids FROM 3049883"

but if I write the same thing, except I want only data after a certain date :

" Date, Poids FROM 3049883 WHERE Date > 2/29/12"

From the SQL-like API,, deberia de funcionar

I get an error witch is "'internal_error', message:'Could not parse query'"

-Date is a DATETIME format in my fusion table.

-I've tried different format, but I can not get data.

¿Qué estoy haciendo mal?

Muchas gracias por su ayuda.

preguntado el 09 de marzo de 12 a las 14:03

1 Respuestas

The Date value must be quoted and the format is MM/dd/yy so you must pad single digits with leading zeros. I had success with:

select Date,Poids from 3049883 where Date >= '02/29/12'

Note: I did not test with gvizdata, just with the FT JSONP API

respondido 09 mar '12, 19:03

So simple. Thanks you for your help. - user1259431

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.