Highlighted text? Practice this concept. Highlighted passages and figures open related questions.
Practice related questions (1)Progress & bookmarks
Current section
2-2-2 Reference With Specifying Conditions
p. 268
Practice this section 1 linked exam question with default filters
Progress
Not marked complete
Related questions in this lesson 1
SQL LIKE wildcards1p. 268
2-2-2 Reference With Specifying Conditions
Reference with specifying conditions corresponds to the relational operation “Selection” that extracts the tuples that satisfy the specified conditions. Use the following SELECT statement in reference with specifying conditions.
p. 269
ex09: From the “Student” table, extract tuples where Gender is 'Female' (Selection).
ex10: From the “Subject” table, extract subject names other than the SubjectName 'Mathematics' (Selection, Projection).
ex11: From the “Score” table, extract StudentNumber, SubjectNumber, and Score where SubjectNumber contains '2' and Score is between 80 and 90.
ex12: From the “Score” table, extract StudentNumber, SubjectNumber, and Score where SubjectNumber contains '2' or Score is between 80 and 90.
ex13: From the “Score” table, among the tuples where the score is greater than 60, extract the tuples where the 2nd digit as counted from the left edge of StudentNumber is '7' or ExaminationDate is '20XX-10-21'.
p. 270
Note: If ( ) is not included, AND is evaluated first, and incorrect results are extracted as shown below.
Section progress
Original chapter exercises
Original chapter exercises →New FE Textbook Vol.1 · IT Fundamentals · First Edition, April 2015







