Click here to Skip to main content
15,893,904 members
Home / Discussions / Database
   

Database

 
QuestionQuery required Pin
veereshIndia3-Oct-07 23:06
veereshIndia3-Oct-07 23:06 
Hi All,

Iam having two tables

table1

1.Rno Primary key
2.name
3.empid foreign key of table2

table2

1. empid primary key
2.address
3.Rno foreign key of table1

Here Rno and empid are auto generated. Now i want to insert data into first table i need sql query for this.Please help me on this





i want to join this group

AnswerRe: Query required Pin
John-ph3-Oct-07 23:33
John-ph3-Oct-07 23:33 
GeneralRe: Query required Pin
veereshIndia3-Oct-07 23:35
veereshIndia3-Oct-07 23:35 
GeneralRe: Query required Pin
John-ph4-Oct-07 0:05
John-ph4-Oct-07 0:05 
GeneralRe: Query required Pin
Krish - KP4-Oct-07 0:30
Krish - KP4-Oct-07 0:30 
GeneralRe: Query required Pin
John-ph4-Oct-07 0:41
John-ph4-Oct-07 0:41 
AnswerRe: Query required Pin
Krish - KP4-Oct-07 0:28
Krish - KP4-Oct-07 0:28 
GeneralRe: Query required Pin
John-ph4-Oct-07 0:38
John-ph4-Oct-07 0:38 
AnswerRe: Query required Pin
Paddy Boyd4-Oct-07 0:35
Paddy Boyd4-Oct-07 0:35 
GeneralRe: Query required Pin
John-ph4-Oct-07 0:44
John-ph4-Oct-07 0:44 
GeneralRe: Query required Pin
Paddy Boyd4-Oct-07 0:46
Paddy Boyd4-Oct-07 0:46 
GeneralRe: Query required Pin
veereshIndia4-Oct-07 1:09
veereshIndia4-Oct-07 1:09 
GeneralRe: Query required Pin
Paddy Boyd4-Oct-07 1:14
Paddy Boyd4-Oct-07 1:14 
GeneralRe: Query required Pin
veereshIndia4-Oct-07 1:27
veereshIndia4-Oct-07 1:27 
AnswerRe: Query required Pin
karoitay4-Oct-07 0:52
karoitay4-Oct-07 0:52 
QuestionRemote Connection MSSQL Pin
confusedme3-Oct-07 19:52
confusedme3-Oct-07 19:52 
AnswerRe: Remote Connection MSSQL Pin
Anilkumar K V3-Oct-07 20:18
Anilkumar K V3-Oct-07 20:18 
AnswerRe: Remote Connection MSSQL Pin
Joe3-Oct-07 20:21
Joe3-Oct-07 20:21 
GeneralRe: Remote Connection MSSQL Pin
Anilkumar K V3-Oct-07 22:46
Anilkumar K V3-Oct-07 22:46 
AnswerRe: Remote Connection MSSQL [modified] Pin
Marek Grzenkowicz3-Oct-07 22:13
Marek Grzenkowicz3-Oct-07 22:13 
GeneralRe: Remote Connection MSSQL Pin
Anilkumar K V3-Oct-07 23:31
Anilkumar K V3-Oct-07 23:31 
GeneralRe: Remote Connection MSSQL Pin
Marek Grzenkowicz3-Oct-07 23:47
Marek Grzenkowicz3-Oct-07 23:47 
GeneralRe: Remote Connection MSSQL Pin
confusedme4-Oct-07 0:14
confusedme4-Oct-07 0:14 
GeneralRe: Remote Connection MSSQL Pin
Marek Grzenkowicz4-Oct-07 0:40
Marek Grzenkowicz4-Oct-07 0:40 
GeneralRe: Remote Connection MSSQL Pin
confusedme4-Oct-07 18:35
confusedme4-Oct-07 18:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.