ISYS114 Workshop 7

Embed Size (px)

DESCRIPTION

Test

Citation preview

ISYS114 Workshop 76. a. SELECT *FROM StudentWHERE StudentID < 50000;

Alternative if more fields in table, and all you want is ID and Name to be displayed:

SELECT StudentID, StudentNameFROM StudentWHERE StudentID < 50000;

b. SELECT FacultyName Name of Faculty Member with ID Number 4756FROM FacultyWHERE FacultyID = 4756;

c. SELECT MIN SectionNo Smallest Section Number used in Semester 1 2008FROM RegistrationWHERE Semester = I-2008

The Registration Table will provide more up-to-date information compared to using the Section table.Introduction to SQL1 | Page