This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO telemetry (raw_gps_id, animal_id, device_id, acq_time, longitude, latitude) | |
SELECT | |
raw_gps.id AS raw_gps_id, | |
deployments.device_id, | |
deployments.animal_id, | |
raw_gps.acq_time, | |
raw_gps.longitude, | |
raw_gps.latitude | |
FROM | |
deployments, raw_gps, devices |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- number of rows for device 19751 = 1833 | |
SELECT count(*) | |
FROM gps | |
WHERE serial_num = '19751'; | |
-- count of rows with join = 1833 | |
WITH relocs AS ( | |
SELECT | |
gps.id AS gps_id, | |
deployments.device_id, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH points AS ( | |
SELECT | |
ST_SetSRID(ST_Point(-118.9205, 39.5590), 4326) AS geom | |
) | |
SELECT | |
points.geom, | |
hunt_units_stagin.huntunit | |
FROM points | |
INNER JOIN hunt_units_stagin ON ST_Contains(hunt_units_stagin.geom, points.geom); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 1.4 example | |
-- restaurants | |
CREATE TABLE lu_franchises ( | |
id char(3) PRIMARY KEY, | |
franchise varchar(30) | |
); | |
-- creating lookup table | |
INSERT INTO lu_franchises(id, franchise) | |
VALUES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="card"> | |
<h4 class="card-header" @click="toggleVisibility('')"> | |
"" | |
</h4> | |
<div class="card-block" v-if=""> | |
<div class="p-card" v-for="" v-bind:class="{ 'p-card-odd': oddIndex(index) }"> | |
<div class="p-card-header"> | |
<button type="button" class="close" @click="deleteDynElement('', index)"> | |
<span>×</span> |