checking if table exists before creating; execing valid insert and select statements, but not using results yet