SlideShare a Scribd company logo
1 of 1
1.
SELECT pa.firstName,pa.lastName,pa.primaryNumber,
pro.name,pro.procedurType,pc.procedurDate
FROM
[dbo].[patientRegistration] pa
JOIN
[dbo].[patientCare] pc
on pc.patientId = pa.patientId
join
[dbo].[procedurs] pro
on pro.procedurId = pc.procedurId
2.1
INSERT into [dbo].[patientRegistration]
(primaryNumber,lastName,firstName,phoneNumber,email,LocationId,address,addressFu
ll)
VALUES('12345689','tetvadze','giorgi','789654231','t.tmail.com',1,'vajafshavelas
14','tbilisi vajafshavelas 14');
2.2
INSERT into [dbo].[medicines]
(medicineTypeId,usageClasificationId,name,patientCareId)
VALUES(1,1,'omega3',4);
2.3
insert into [dbo].[patientCare](procedurId,patientId,procedurDate)
VALUES(1,6,'2012-3-7');
3.
UPDATE [dbo].[patientRegistration] set
email='t@gmail.com',phoneNumber='321654987' where patientId = 6;
4.
DELETE FROM [dbo].[patientCare] where patientCareId = 5;

More Related Content

More from Harry Kodua

ხელოვნური ინტელექტი artificial intelligence
ხელოვნური ინტელექტი artificial intelligenceხელოვნური ინტელექტი artificial intelligence
ხელოვნური ინტელექტი artificial intelligence
Harry Kodua
 
ცნობიერება და აზროვნება
ცნობიერება და აზროვნებაცნობიერება და აზროვნება
ცნობიერება და აზროვნება
Harry Kodua
 
პრეზენტაცია არქიტექტურა
პრეზენტაცია არქიტექტურაპრეზენტაცია არქიტექტურა
პრეზენტაცია არქიტექტურა
Harry Kodua
 
Gemblingi referati
Gemblingi referatiGemblingi referati
Gemblingi referati
Harry Kodua
 
Batch programming
Batch programmingBatch programming
Batch programming
Harry Kodua
 
The latest inventions
The latest inventionsThe latest inventions
The latest inventions
Harry Kodua
 
Gemblingi referati
Gemblingi referatiGemblingi referati
Gemblingi referati
Harry Kodua
 
Batch programming
Batch programmingBatch programming
Batch programming
Harry Kodua
 
წარმოებული და მისი თვისებები
წარმოებული და მისი თვისებებიწარმოებული და მისი თვისებები
წარმოებული და მისი თვისებები
Harry Kodua
 

More from Harry Kodua (18)

ხელოვნური ინტელექტი artificial intelligence
ხელოვნური ინტელექტი artificial intelligenceხელოვნური ინტელექტი artificial intelligence
ხელოვნური ინტელექტი artificial intelligence
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 
msql
msqlmsql
msql
 
msql
msqlmsql
msql
 
ცნობიერება და აზროვნება
ცნობიერება და აზროვნებაცნობიერება და აზროვნება
ცნობიერება და აზროვნება
 
პრეზენტაცია არქიტექტურა
პრეზენტაცია არქიტექტურაპრეზენტაცია არქიტექტურა
პრეზენტაცია არქიტექტურა
 
Linux kali
Linux kaliLinux kali
Linux kali
 
Gemblingi
GemblingiGemblingi
Gemblingi
 
Gemblingi referati
Gemblingi referatiGemblingi referati
Gemblingi referati
 
Batch programming
Batch programmingBatch programming
Batch programming
 
The latest inventions
The latest inventionsThe latest inventions
The latest inventions
 
Pres vir
Pres virPres vir
Pres vir
 
Philo
PhiloPhilo
Philo
 
Myppt
MypptMyppt
Myppt
 
Gemblingi
GemblingiGemblingi
Gemblingi
 
Gemblingi referati
Gemblingi referatiGemblingi referati
Gemblingi referati
 
Batch programming
Batch programmingBatch programming
Batch programming
 
წარმოებული და მისი თვისებები
წარმოებული და მისი თვისებებიწარმოებული და მისი თვისებები
წარმოებული და მისი თვისებები
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

msql

  • 1. 1. SELECT pa.firstName,pa.lastName,pa.primaryNumber, pro.name,pro.procedurType,pc.procedurDate FROM [dbo].[patientRegistration] pa JOIN [dbo].[patientCare] pc on pc.patientId = pa.patientId join [dbo].[procedurs] pro on pro.procedurId = pc.procedurId 2.1 INSERT into [dbo].[patientRegistration] (primaryNumber,lastName,firstName,phoneNumber,email,LocationId,address,addressFu ll) VALUES('12345689','tetvadze','giorgi','789654231','t.tmail.com',1,'vajafshavelas 14','tbilisi vajafshavelas 14'); 2.2 INSERT into [dbo].[medicines] (medicineTypeId,usageClasificationId,name,patientCareId) VALUES(1,1,'omega3',4); 2.3 insert into [dbo].[patientCare](procedurId,patientId,procedurDate) VALUES(1,6,'2012-3-7'); 3. UPDATE [dbo].[patientRegistration] set email='t@gmail.com',phoneNumber='321654987' where patientId = 6; 4. DELETE FROM [dbo].[patientCare] where patientCareId = 5;