Hello,
I have created "items" table and "spl_items" table. In items table i have item_id, item_desc. In spl_items i have item_id,qty. The item_id found in items table need not neccessary be in spl_items table.
Is it possible to write a select query to display in a datagrid all data from items table and the qty from spl_items. If there is no record for a particular item_id is found in spl_items table i would like to have qty value displayed as zero.
Items table
ID Desc
I001 HI
I002 IO
Spl Item Table
ID QTY
I001 2
I would like to display
ID Desc Qty
I001 HI 2
I002 IO 0
Can it be acheived? Please do help me out as i am desperate.
I have created "items" table and "spl_items" table. In items table i have item_id, item_desc. In spl_items i have item_id,qty. The item_id found in items table need not neccessary be in spl_items table.
Is it possible to write a select query to display in a datagrid all data from items table and the qty from spl_items. If there is no record for a particular item_id is found in spl_items table i would like to have qty value displayed as zero.
Items table
ID Desc
I001 HI
I002 IO
Spl Item Table
ID QTY
I001 2
I would like to display
ID Desc Qty
I001 HI 2
I002 IO 0
Can it be acheived? Please do help me out as i am desperate.