I wish to select two distinct columns and one normal. But it seems like the error of missing right parenthesis keep coming out when i already written properly.
Here’s the sample code:
Select Distinct(F.DATE, F.EXAM_TIME), T.*
From Test T, ExamRecords F
Where T.TestNo= 10
And T.TestPaper = 'Science';
Thanks for any clarification given/mistakes that i have made~
DISTINCT wont work based on columns, it works on the entire row, you may want to use Group BY