hi
i have one doubt please help me
create table Patient(
ID int not null primary key,
FirstName varchar(30),
LastName varchar(30),
DateOfBirth datetime
);
Create table Insurance(
ID int not null Primary key,
InsuranceName varchar(50),
);
Create table PatientInsurance(
PatientID int not null,
InsuranceID int not null,
Foreign Key(PatientID) References patient(ID),
Foreign Key(InsuranceID) References Insurance(ID)
);
there are three tables in my db and this is a table structure
iam insert a five record for each table ok
my question is : How to get a list of all patients having insurancename and patient does not have any insurance
how to prepare a script for this question please help me anyone
6 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Nitin SontakkePosted May 10, 2018, 1:09 AM
Amudhan KuppanPosted May 9, 2018, 1:51 AM
Amudhan KuppanPosted May 8, 2018, 11:38 PM
Shahriar NikkhahPosted May 8, 2018, 10:50 AM
Amudhan KuppanPosted May 8, 2018, 8:11 AM
Amudhan KuppanPosted May 8, 2018, 8:08 AM