Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Table1: empid (primary key), empdoj, empamt, empadd

Table2: emploanid(primary key), empph, empdob

Table3: empsal,emploan,empint

I have to use empdoj, empamt, emploanid in table3 and I have to search, update the details by using emploanid
SQL
MY WORKS IN DATABASE:
create table employee_detail (empcid varchar2(25) primary key, empdoj date, empamt varchar2(10),ampadd varchar2(10));

create table employee_deposit(loanid varchar(25) primary key, empph number(10), empdob date));

create table employee_sharecapital(loanid varchar2(25),empedoj date,empamt varchar2(10),empsal varchar2(10),emploan number(10));

i have to display & update in c# by using loan id in sharecapital table




Frond end : c#
Database : oracle

Thanks in advance.
Posted
Updated 9-Mar-11 8:41am
v2

1 solution

It is difficult to work out what you are asking for: none of your tables appear to be related to the others, so quite where table2 even comes into it is difficult to tell.

Rename your tables to something sensible - "EmployerDetail" or similar would be good - and try to show us the relations between the tables.

Then ask a question which refers to what you are trying to achieve.

Edit your question to include the information.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900