select
(select Name from List_Operators where List_Operators.OperatorID=Record_Production.OperatorID) as 操作员姓名,
BarCode as 条形码,
ProductionDate as 生产日期,
LotNo as 批号
from Record_Production
SELECT dbo.Record_Production.BarCode, dbo.Record_Production.ProductionDate, dbo.Record_Production.LotNo, dbo.Record_Production.ProcessID,
dbo.List_Operators.Name
FROM dbo.Record_Production INNER JOIN
dbo.List_Operators ON dbo.Record_Production.OperatorID = dbo.List_Operators.OperatorID
select 学号 from 选课 where 课程号='C1'
select 姓名 from 学生 where 学号 in (select 学号 from 选课 where 课程号='C1')
select 学生.姓名,选课.学号 from 学生 ,选课
select 学生.姓名,选课.学号 from 学生 ,选课 where 学生.学号=选课.学号
select 学生.姓名,选课.课程号 from 学生 ,选课 where 学生.学号=选课.学号 and 课程号='C1'