I have a table that recieves raw data form results for an online quiz. The boss wants to analyse the data , I have it all going to one table for processing. From that table of "Raw Data" I pick out what I need. I want to pick out the test name but I dont want duplicate. I made the column unique in table phistory ( column testname)
I wanted to write a SQL query for this select distinct testname from testhistory where testname not in (select distinct testname in phistory) but I get a syntax error Help Jim --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php