7 messages in com.mysql.lists.mysqlMySql doubt.
FromSent OnAttachments
Renish26 Nov 2006 19:15 
Renish26 Nov 2006 20:31 
ViSolve DB Team26 Nov 2006 20:47 
Renish26 Nov 2006 23:18 
ViSolve DB Team27 Nov 2006 00:57 
Renish27 Nov 2006 01:37 
Rolando Edwards27 Nov 2006 06:11 
Subject:MySql doubt.
From:Renish (kosh@gmail.com)
Date:11/26/2006 08:31:19 PM
List:com.mysql.lists.mysql

Hi Guys,

I have an easy doubt..

Table A consist of field Item and Table B consist of field Price. Table A consists of Items which has price aswell the items which doesnt have price. But In Table B,I have kept only the item which has price . Now, I want to subtract the total items in Table A to the total items in Table B. so I get the items which doesnt have price. I used union its not working.. can any of u guys write the code for it,,,

For example

Table A Item Book Pencil Table Table B- which consists of Item with price

Price -Book-11 dollar Pencil-2 dollar

Please reply me asap. I hope it should be v. easy enough to tackle.