Bineesh  Viswanath

Bineesh Viswanath

  • NA
  • 1k
  • 777.3k

SQL Query to pass a value concerned with primary key

Oct 18 2013 5:47 AM
Sir, I need your help in the following topic:-

I want to display product's barcode in the grid. How can I write sql query to function this?

my grid column:-

SI.No         Barcode       productName        

I have two tables, 1) tbl_product, 2) tbl_Batch.



tbl_Product
--------------

productId

productName

productRate

batchId


tbl_Batch
------------

batchId

batchName

barcode


Give me the sql query to this.

Answers (1)