Oblivion|MC
n00b
- Joined
- Jul 4, 2001
- Messages
- 45
Hey everyone,
thanks for looking
I've been doing some minor mysql coding for a few month, but have encountered a problem i cant quit figure out.
I have two tables
TABLE1
1.....3
2.....5
3.....3
4.....5
5.....3
TABLE2
1.....A
2.....B
3.....C
4.....D
5.....E
My problem is this
I want to select * from table2 i would like it to be ordered by table1's numbers.. alittle confusings.. but lets assume table1 has their categories inside
i want to select all from table2 but first list all that have 3... and then that have 5...
so final should display
1.. A
3.. C
5.. E
2.. B
4.. D
any suggestions would be helpful.
thanks!
thanks for looking
I've been doing some minor mysql coding for a few month, but have encountered a problem i cant quit figure out.
I have two tables
TABLE1
1.....3
2.....5
3.....3
4.....5
5.....3
TABLE2
1.....A
2.....B
3.....C
4.....D
5.....E
My problem is this
I want to select * from table2 i would like it to be ordered by table1's numbers.. alittle confusings.. but lets assume table1 has their categories inside
i want to select all from table2 but first list all that have 3... and then that have 5...
so final should display
1.. A
3.. C
5.. E
2.. B
4.. D
any suggestions would be helpful.
thanks!