• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Minus Operation Query

 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,
I'm using JSP and MySQL for my project. In a particular point I've a query which i want to use the minus opertions..


I want to run a query which selects the values from main_table and compare the value with sub_table and display the values which are not in the sub_table

In oracle I can use a MINUSwhich can help me in doing this

But I'm using MySQL. Please help me..

The Query is



Please help me how can I use the query in MySQL

Regards

Aravind Prasad
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic