SQL Saved search No geo data: Difference between revisions
Jump to navigation
Jump to search
Created page with "Note: These queries are in 5.x format '''Accident''' <pre> SELECT accident.accident_localid FROM accident WHERE accident.hasgeodata = '0' ORDER BY accident.accident_localid A..." |
No edit summary |
||
| Line 1: | Line 1: | ||
Note: These queries are in 5.x format | Note: These queries are in 5.x format <br /> | ||
'''Accident''' | '''Accident''' | ||
<pre> | <pre> | ||
| Line 22: | Line 22: | ||
hazard.hazard_localid ASC | hazard.hazard_localid ASC | ||
</pre> | </pre> | ||
''' | '''HazRed''' | ||
<pre> | <pre> | ||
SELECT | SELECT | ||
| Line 32: | Line 32: | ||
ORDER BY | ORDER BY | ||
hazreduc.hazreduc_localid ASC | hazreduc.hazreduc_localid ASC | ||
</pre> | |||
'''Location'' | |||
<pre> | |||
SELECT | |||
location.location_localid | |||
FROM | |||
location | |||
WHERE | |||
location.hasgeodata = '0' | |||
ORDER BY | |||
location.location_localid ASC | |||
</pre> | |||
'''MRE''' | |||
<pre> | |||
SELECT | |||
mre.mre_localid | |||
FROM | |||
mre | |||
WHERE | |||
mre.hasgeodata = '0' | |||
ORDER BY | |||
mre.mre_localid ASC | |||
</pre> | |||
'''QA''' | |||
<pre> | |||
SELECT | |||
qa.qa_localid | |||
FROM | |||
qa | |||
WHERE | |||
qa.hasgeodata = '0' | |||
ORDER BY | |||
qa.qa_localid ASC | |||
</pre> | |||
'''Task''' | |||
<pre> | |||
SELECT | |||
task.localid | |||
FROM | |||
task | |||
WHERE | |||
task.hasgeodata = '0' | |||
ORDER BY | |||
task.localid ASC | |||
</pre> | |||
'''Victim''' | |||
<pre> | |||
SELECT | |||
victim.victim_localid | |||
FROM | |||
victim | |||
WHERE | |||
victim.hasgeodata = '0' | |||
ORDER BY | |||
victim.victim_localid ASC | |||
</pre> | </pre> | ||
[[Category:NoPublic]] | [[Category:NoPublic]] | ||
[[Category:SQL Queries]] | [[Category:SQL Queries]] | ||
Revision as of 07:45, 13 February 2014
Note: These queries are in 5.x format
Accident
SELECT accident.accident_localid FROM accident WHERE accident.hasgeodata = '0' ORDER BY accident.accident_localid ASC
Hazard
SELECT hazard.hazard_localid FROM hazard WHERE hazard.hasgeodata = '0' ORDER BY hazard.hazard_localid ASC
HazRed
SELECT hazreduc.hazreduc_localid FROM hazreduc WHERE hazreduc.hasgeodata = '0' ORDER BY hazreduc.hazreduc_localid ASC
'Location
SELECT location.location_localid FROM location WHERE location.hasgeodata = '0' ORDER BY location.location_localid ASC
MRE
SELECT mre.mre_localid FROM mre WHERE mre.hasgeodata = '0' ORDER BY mre.mre_localid ASC
QA
SELECT qa.qa_localid FROM qa WHERE qa.hasgeodata = '0' ORDER BY qa.qa_localid ASC
Task
SELECT task.localid FROM task WHERE task.hasgeodata = '0' ORDER BY task.localid ASC
Victim
SELECT victim.victim_localid FROM victim WHERE victim.hasgeodata = '0' ORDER BY victim.victim_localid ASC