Hello Friends
I have following data in the table.
ID--------Name---------Code
---------------------------------------------
1---------Stone------------0
2---------Jewelry----------0
3---------Color Stone----1
4---------Ruby-------------3
Here 0 stands for primary type (stone) now I want to search primary type for ruby which is stone so how can I get that through sql query.
Thanking you in Advance
Waiting for your response
I have following data in the table.
ID--------Name---------Code
---------------------------------------------
1---------Stone------------0
2---------Jewelry----------0
3---------Color Stone----1
4---------Ruby-------------3
Here 0 stands for primary type (stone) now I want to search primary type for ruby which is stone so how can I get that through sql query.
Thanking you in Advance
Waiting for your response
Comment