Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
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). Don't show the entires with no 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