example
product name weight price
closeup 25kg 15
50kg 30
75 45
i need product name one time ..but need to enter weight and price.....
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Aug 13, 2013, 7:55 AM
In SQL you can't do exactly same. But you can save child table to maintain weight and price.
In Parent Table
ProductInfo
--------------
in child table
ProductWeightInfo
-------------------
aaa
Sanjeeb LenkaPosted Aug 13, 2013, 6:07 AM
Sivaraman DhamodaranPosted Aug 13, 2013, 6:04 AM
Let us say you have two more records like:
Now you have 5 records in total. How do you differentiate the records that don't have a name (3 such exists now).