Sql queries questions

This article is tagged with: Sql queries questions and mysql

sql queries questions

SELECT E.EmpFname, E.EmpLname, P.EmpPosition
FROM EmployeeInfo E INNER JOIN EmployeePosition P ON
E.EmpID = P.EmpID AND P.EmpPosition IN ('Manager');

sql queries questions

SELECT SUBSTRING(Address, 1, CHARINDEX('(',Address)) FROM EmployeeInfo;

This article is tagged with: Sql queries questions and mysql