Index: trunk/ippTools/share/stacktool_definebyquery_insert.sql
===================================================================
--- trunk/ippTools/share/stacktool_definebyquery_insert.sql	(revision 19107)
+++ trunk/ippTools/share/stacktool_definebyquery_insert.sql	(revision 19152)
@@ -4,5 +4,5 @@
 SELECT
         @STACK_ID@, -- This should be replaced with the stack_id
-        warp_id
+        warpRun.warp_id
 FROM warpSkyfile
 JOIN warpRun
