Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 tables problem

Status
Not open for further replies.

shakran

MIS
Mar 12, 2006
1
BE
Hi,
here's the problem

I'm making a website in ASP.NET (and using SQL for my databases) I have 2 tables -> Tabel_company(company_id, company_name,experience_type,company_region) & Tabel_experience(id_exp, username,experiences,company_id)
i would like something like this:

name type region
------------------------------
IBM interview san diego
username experience
------------------------
mark01 "boss is friendly"
james91 "didnt offer coffee"

Apple internship california
username experience
------------------------
johnson91 "cool place to work"

so far i have:
INSERT INTO table_experience VALUES (@experiences,@username) WHERE table_company.company_id = table_experience.company_id

any idea's?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top