We help IT Professionals succeed at work.
Get Started

how to update a specific record in the relational tables

Last Modified: 2012-05-09
I have 4 tables:

when inserting a record, will use the uniq location_id , product_id to insert into 2 tables: sale and move

--the requirement is that select a product_name and location_id to search all related records in the database.
--and then can  select an individual record to update it

issue,  i can get 1 more sale_id and move_id when joining these tables, it is hard to pick the record to update.( we are using .net at fron_end)

select * from sale,product,location,move
where sale.product_id=product.product_id
and sale.location_id=location_id
and move.location_id=location.location_id
Watch Question
This problem has been solved!
Unlock 5 Answers and 6 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE