Demo entry 6362546

11

   

Submitted by anonymous on May 09, 2017 at 14:17
Language: SQL. Code size: 163 Bytes.

SELECT
	SC.stuId,
	SC.cId
FROM
	student_course SC
WHERE
	cId = 'C1'
UNION
	SELECT
		SC.stuId,
		SC.cId
	FROM
		student_course SC
	WHERE
		cId = 'C2';

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).