diff --git a/public/Abrish_Joiin.sql b/public/Abrish_Joiin.sql new file mode 100644 index 0000000..9241ec2 --- /dev/null +++ b/public/Abrish_Joiin.sql @@ -0,0 +1,18 @@ +Select TOP(1)* FROM [Person].[Person] A +Select TOP(1)* FROM [HumanResources].[Employee] B + +Select A.FirstName,B.JobTitle +FROM [Person].[Person] A +JOIN [HumanResources].[Employee] B ON +A.BusinessEntityID = B.BusinessEntityID +Where A.BusinessEntityIUse SQL_Lessons +GO + +Create Table Labirary_Members +( +ID int identity primary key, +Member_First_Name varchar(20), +Member_Last_Name varchar(20), +Member_DOB DateTime, +Is_Active BIT +)D =1 \ No newline at end of file