Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

neer to select values which is in common

$
0
0
i have a temp table #student_detailswhich contains below valuesstudent_id subject_id 1 111 3 111 4 111 5 111 3 121 4 121i need to select the students which is common in both subjects,what should i do???i am new to sql, can anyone help??

Viewing all articles
Browse latest Browse all 3145

Trending Articles