Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Introduction
Dictionary database
6. Dictionary table – exercise 1
Summary

Instruction

Okay, let's start with our first exercise.

Exercise

Show each dictionary entry (name the column entry) together with the name of its direct hypernym (name the column hypernym).

Stuck? Here's a hint!

Type:

SELECT
  entries.word AS entry,
  hypernym.word AS hypernym
FROM dictionary AS entries
JOIN dictionary AS hypernym
  ON entries.hypernym_id = hypernym.entry_id