I have a database table has four columns called "Courses(CourseID,CourseName,CreditHours,LabSession)", and I wanna write SQL Statement that retrieve all data in the Course table, furthermore, the SQL must repeat the row (record) if the LabSession column in the row has a value "Y" otherwise retrieve the row as it is without repeating.
BTW, I am using Microsoft SQL Server Database
1 Answer