Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
john_InFlames
Starting Member
2 Posts |
Posted - 2010-05-22 : 12:15:33
|
| hi,i am new to sql programming and i have the following problem.I have two tables named Operations and Unit_supported_operations.The tables are : 1)Unit_supported_operationsUnitID|OperationIDRobot2 UnloadingFixture UnloadingFixture SpotWeldingRobot2 LoadingFixture LoadingRobot3 FixturingRobot33ClinchingRobot4 ArcWelding2)OperationsOperationID |OperationTypeArcWelding JoiningLaserWelding JoiningLoading HandlingSpotWelding JoiningUnloading Handling I want to take the available operations where i give a specific UnitID.example:i want to select the available operations of fixture.the results must be ArcWelding,LaserWelding.any ideas how to do this??thanks everyone in advance. |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-05-22 : 14:04:34
|
I can't see a relation between Fixture and ArcWelding,LaserWelding - sorry. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
john_InFlames
Starting Member
2 Posts |
Posted - 2010-05-22 : 17:49:35
|
| Operation ID is the relation between the two tables |
 |
|
|
|
|
|