select C#,Cname from Course where C# in (select c# from sc group by c#)