Hi all,
i am new to sql. Could anyone help me find a solution to this
problem.
I have a table with 3 fields like this,
test_name varchar(25) primary key
test_result varchar(10)
test_level integer primary key
my data looks like
test1,pass,1
test1,fail,2
test2,pass,1
test2,pass,2
test3,pass,1
test3,fail,2
test4,fail,2
test4,fail,3
the assumption is that all the test should have same status (no matter
pass or fail) in all the test_level.
my query should output the "test_name" which has different results in
different test_level.
In the above example data, test1 passed in level 1 and failed in 2
i want to catch this data.
FYI, I am using MySql.
Thanks in advance,
Sasi
i am new to sql. Could anyone help me find a solution to this
problem.
I have a table with 3 fields like this,
test_name varchar(25) primary key
test_result varchar(10)
test_level integer primary key
my data looks like
test1,pass,1
test1,fail,2
test2,pass,1
test2,pass,2
test3,pass,1
test3,fail,2
test4,fail,2
test4,fail,3
the assumption is that all the test should have same status (no matter
pass or fail) in all the test_level.
my query should output the "test_name" which has different results in
different test_level.
In the above example data, test1 passed in level 1 and failed in 2
i want to catch this data.
FYI, I am using MySql.
Thanks in advance,
Sasi
Comment