Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

msql

Related Books

Free with a 30 day trial from Scribd

See all
  • Be the first to comment

  • Be the first to like this

msql

  1. 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;

×