#!/usr/bin/python

import sys
sys.path.append("..")
from FAHdb import FAHdb

db = FAHdb( "project4010", verbose = True )

qbase = "select run, clone, gen, snapshot from frames where %s=%d"
defs = ("def1", "def2" )
nums = (0,1)

for d in defs :
	for num in nums :
		db.addquery( qbase % ( d, num ) )

db.showquery()
