chandan2110
New Member
- Joined
- Dec 26, 2013
- Messages
- 2
Hi..
I have a table with entries like (Example from table, real table is very large) -
[TABLE="width: 500"]
<tbody>[TR]
[TD]Length[/TD]
[TD]Width[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]300[/TD]
[TD]300[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]600[/TD]
[TD]200[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]900[/TD]
[TD]600[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]250[/TD]
[TD]450[/TD]
[TD]25[/TD]
[/TR]
</tbody>[/TABLE]
I want to extract information where if I give a number for length and width the query can tell me all possible combinations. Eg. User enters Length = 1800 and Width = 600. The result should be -
[TABLE="width: 500"]
<tbody>[TR]
[TD]Option[/TD]
[TD]Length[/TD]
[TD]Width[/TD]
[TD]No needed to form [/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]900[/TD]
[TD]600[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]300[/TD]
[TD]300[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]etc....need all possible combination[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Will appreciate the help.
I have a table with entries like (Example from table, real table is very large) -
[TABLE="width: 500"]
<tbody>[TR]
[TD]Length[/TD]
[TD]Width[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]300[/TD]
[TD]300[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]600[/TD]
[TD]200[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]900[/TD]
[TD]600[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]250[/TD]
[TD]450[/TD]
[TD]25[/TD]
[/TR]
</tbody>[/TABLE]
I want to extract information where if I give a number for length and width the query can tell me all possible combinations. Eg. User enters Length = 1800 and Width = 600. The result should be -
[TABLE="width: 500"]
<tbody>[TR]
[TD]Option[/TD]
[TD]Length[/TD]
[TD]Width[/TD]
[TD]No needed to form [/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]900[/TD]
[TD]600[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]300[/TD]
[TD]300[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]etc....need all possible combination[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Will appreciate the help.