我在用着:
SELECT SLN,
PREFIX + ' ' + CAST(Number AS VARCHAR(16)) + ' Section: ' + CAST(ClassSection AS VARCHAR(16)) + ' ' + LOCATION + ' ' + ClassDay + ' Start: ' + StartTime + ' End: ' + EndTime AS Info
FROM Classes
WHERE Classes.IsActive=1
ORDER BY Number
Classes.IsActive 有点,我想知道为什么当我执行查询时它会给我 IsActive = 0 的行以及 IsActive = 1 的行。提前致谢。