我有一个数据库,其中存在一个表员工,如下所示
+-----------+--------------+-------------+
| LastName | DepartmentID | projectname |
+-----------+--------------+-------------+
| Rafferty | 31 | ims |
| Jones | 33 | ibm server |
| Steinberg | 33 | null |
| Robinson | 34 | ims |
| Smith | 34 | ibmserver |
| John | NULL | ims |
+-----------+--------------+-------------+
我想检索那些从事琼斯工作的项目的姓氏
Select * from employee ???
请有任何建议