Show Table

Column Verbose Name Type Groupable Filterable Is temporal
project_id None STRING
projectminihash None STRING
vehicletype Tipo de VeĆ­culo None
ano Ano INT
day Dia DATETIME
kmmorta Quilometragem Morta None
kmextra Quilometragem Extra None
kmtotal Quilometragem Total None
dayoperacao None STRING
kmremunerada Quilometragem Remunerada Realizada None
kmrabicho Quilometragem Rabicho None
kmplanejada Quilometragem Remunerada Planejada None
Record Count: 12
Metric Verbose Name Type
count None None
Record Count: 1
Table Name Untitled Query 2-vLhjTDc-o
Sql select project_id ,projectminihash ,vehicletype ,ano ,day ,cast(sum(plannedmileage)as numeric(19,2)) as kmplanejada ,cast(sum(quilometragemmorta)as numeric(19,2)) as kmmorta ,cast(sum(quilometragemremunerada) as numeric(19,2)) as kmremunerada ,cast(sum(quilometragemextra) as numeric(19,2)) as kmextra ,cast(sum(quilometragemrabicho) as numeric(19,2)) as kmrabicho ,cast(sum(quilometragemmorta) + sum(quilometragemremunerada) + sum(quilometragemextra) + sum(quilometragemrabicho) as numeric(19,2)) as kmtotal ,cast(substring(day,9,2)||'-'||substring(day,6,2)||'-'||substring(day,1,4) as varchar(10)) as dayoperacao from kmrodados group by project_id, projectminihash, vehicletype, ano, day
Enable Filter Select False
Fetch Values Predicate None
Database realtime_db
Schema None
Description None
Owners [Leonardo Bernardinelli]
Main Datetime Column None
Default Endpoint None
Offset 0
Cache Timeout None
SQL Lab View True
Template parameters None
Perm [realtime_db].[Untitled Query 2-vLhjTDc-o](id:579)
Associated Charts []