relational database - alternative to intersect operation in mysql -


when try below code got error

"error 1064 (42000): have error in sql syntax; check manual corresponds mysql server version right syntax use near 'intersect select sc1.section_identifier,sc2."

and searched in internet , found new fact mysql doesn't support intersect operation. how can fix code having same function 'intersect'. please me!!

select g1.section_identifier, g2.section_identifier grade_report g1, grade_report g2 g1.student_number=g2.student_number ,   g1.section_identifier<g2.section_identifier intersect select sc1.section_identifier,sc2.section_identifier section sc1, section sc2 sc1.course_number=sc2.course_number ,      sc1.section_identifier<sc2.section_identifier; 


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

C++ Program To Find Smallest and Largest Number In Array -

java - How to put two numbers separated by a space into two different arrays -