Click here to Skip to main content
15,895,656 members
Home / Discussions / Database
   

Database

 
GeneralRe: Calling Web Service From SQL Stored Procedures Pin
pmarfleet3-Apr-08 9:38
pmarfleet3-Apr-08 9:38 
QuestionPassing IN clause to SP via Parameter Pin
stuebbie3-Apr-08 3:53
stuebbie3-Apr-08 3:53 
GeneralRe: Passing IN clause to SP via Parameter Pin
Mark J. Miller3-Apr-08 4:13
Mark J. Miller3-Apr-08 4:13 
AnswerRe: Passing IN clause to SP via Parameter Pin
stuebbie3-Apr-08 21:57
stuebbie3-Apr-08 21:57 
GeneralRe: Passing IN clause to SP via Parameter Pin
SimulationofSai3-Apr-08 13:04
SimulationofSai3-Apr-08 13:04 
QuestionHow to register custom control Pin
lav naphade3-Apr-08 2:13
lav naphade3-Apr-08 2:13 
AnswerRe: How to register custom control Pin
pmarfleet3-Apr-08 9:34
pmarfleet3-Apr-08 9:34 
GeneralRegarding SQL Query Pin
sandhya143-Apr-08 1:28
sandhya143-Apr-08 1:28 
hi all

i have 3 tables as employees,medical,expenses

i need to take the information from all these 3 tables for the employees

Table1(employees)

EmployeeID DepartmentID
1 100
3 115

TAble2(medical)

EmployeeID ClinicID
1 7
3 11
4 15

Table3(expenses)

EmployeeID ExpenseID
1 5

3 10

now i should get all the details of the employees which is common in all the 3 tables


my answer should be like this:-

EmployeeID DepartmentID ClinicID ExpenseID
1 100 7 5
3 115 11 10


hw will i write a query to get these details?....

thanks in advance...
GeneralRe: Regarding SQL Query Pin
Rob Philpott3-Apr-08 2:37
Rob Philpott3-Apr-08 2:37 
QuestionWhat is the diffrence between CTE(Common Table Expression) and Derived table Pin
Krishnraj3-Apr-08 0:27
Krishnraj3-Apr-08 0:27 
GeneralRe: What is the diffrence between CTE(Common Table Expression) and Derived table Pin
Mark J. Miller3-Apr-08 4:50
Mark J. Miller3-Apr-08 4:50 
Generalselect distinct, but only on one column Pin
phimix2-Apr-08 21:50
phimix2-Apr-08 21:50 
GeneralRe: select distinct, but only on one column Pin
Rob Philpott2-Apr-08 22:27
Rob Philpott2-Apr-08 22:27 
GeneralRe: select distinct, but only on one column Pin
phimix2-Apr-08 23:12
phimix2-Apr-08 23:12 
QuestionHow grant ALTER on all tables to an user? Pin
blackjack21502-Apr-08 21:11
blackjack21502-Apr-08 21:11 
AnswerRe: How grant ALTER on all tables to an user? Pin
Mark J. Miller3-Apr-08 4:47
Mark J. Miller3-Apr-08 4:47 
GeneralRe: How grant ALTER on all tables to an user? Pin
blackjack21503-Apr-08 10:03
blackjack21503-Apr-08 10:03 
GeneralRetrieve the second biggest amount from a table Pin
Daniel_Logan2-Apr-08 21:03
Daniel_Logan2-Apr-08 21:03 
GeneralRe: Retrieve the second biggest amount from a table Pin
blackjack21502-Apr-08 21:16
blackjack21502-Apr-08 21:16 
GeneralRe: Retrieve the second biggest amount from a table Pin
Daniel_Logan2-Apr-08 21:24
Daniel_Logan2-Apr-08 21:24 
GeneralRe: Retrieve the second biggest amount from a table Pin
Rob Philpott2-Apr-08 22:33
Rob Philpott2-Apr-08 22:33 
GeneralRe: Retrieve the second biggest amount from a table Pin
Daniel_Logan2-Apr-08 23:13
Daniel_Logan2-Apr-08 23:13 
Questionhow to import data from excel to sql server 2005 Pin
ashok@techxygen2-Apr-08 20:36
ashok@techxygen2-Apr-08 20:36 
GeneralRe: how to import data from excel to sql server 2005 Pin
pmarfleet2-Apr-08 20:53
pmarfleet2-Apr-08 20:53 
GeneralRe: how to import data from excel to sql server 2005 Pin
Pete O'Hanlon4-Apr-08 1:32
mvePete O'Hanlon4-Apr-08 1:32 

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.