Changeset 15272 for trunk/ippTools/share/magictool_toprocess.sql
- Timestamp:
- Oct 9, 2007, 3:56:40 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/magictool_toprocess.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/magictool_toprocess.sql
r15271 r15272 3 3 -- convert magic_id into a boolean value (1 or 0) 4 4 -- note that the type stays a 64 bit int 5 magicNodeResult.magic_id IS TRUE as done 5 magicNodeResult.magic_id IS TRUE as done, 6 diffSkyfile.uri 7 FROM magicTree 8 JOIN magicRun 9 USING(magic_id) 10 JOIN magicInputSkyfile 11 USING(magic_id, node) 12 LEFT JOIN diffSkyfile 13 using(diff_id) 14 LEFT JOIN magicNodeResult 15 ON magicTree.magic_id = magicNodeResult.magic_id 16 AND magicTree.node = magicNodeResult.node 17 WHERE 18 magicRun.state = 'run' 19 UNION 20 SELECT 21 magicTree.*, 22 -- convert magic_id into a boolean value (1 or 0) 23 -- note that the type stays a 64 bit int 24 magicNodeResult.magic_id IS TRUE as done, 25 magicNodeResult.uri 6 26 FROM magicTree 7 27 JOIN magicRun
Note:
See TracChangeset
for help on using the changeset viewer.
