SELECT EmpId
FROM EmployeeSalary
WHERE Project <>'P1';
1
SELECT TOP N * FROM EmployeePosition ORDER BY Salary DESC;
1
SELECT SUBSTRING(EmpLname, 1, 4) FROM EmployeeInfo;
1
SELECT EmpID FROM (SELECT rowno, EmpID from EmployeeInfo) WHERE MOD(rowno,2)=0;
1
SELECT EmpID FROM (SELECT rowno, EmpID from EmployeeInfo) WHERE MOD(rowno,2)=1;
SELECT * FROM Table_name WHERE EmpName like 'A%'