• 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:
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!