Show Table

Column Verbose Name Type Groupable Filterable Is temporal
day None DATETIME
projectminihash None STRING
kmmorta Quilometragem Morta None
kmextra Quilometragem Extra None
kmtotal Quilometragem Total None
dayoperacao Data STRING
service Serviço STRING
kmremunerada Quilometragem Remunerada Realizada None
kmrabicho Quilometragem Rabicho None
kmplanejada Quilometragem Remunerada Planejada None
Record Count: 10
Metric Verbose Name Type
count None None
Record Count: 1
Table Name Leonardo Bernardinelli-Untitled Query 2-WNWy-djDD
Sql select day ,projectminihash ,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 ,service from kmrodados group by day ,projectminihash ,service
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].[Leonardo Bernardinelli-Untitled Query 2-WNWy-djDD](id:544)
Associated Charts []