Colorama

How hard could it be, right?

  1. Show all the colors.
  2. List names of all colors with red component greater than 200.
  3. List names of all colors with green component equal to blue component.
  4. List names of all colors with red component larger than green component.


  5. Suppose you wanted to keep track of the names of some shapes.
          Triangle, Square, FilledRect, AngLine, FunnyFace, ....

    What would this table look like?


    HARDER

  6. Suppose you wanted to keep track of lots of shapes each with it's own color. There can certainly be more than one of each shape; maybe lots of ... triangles. And multiple shapes can have the same color ... crimson triangle, crimson square, etc.

    How would you keep this track of this sort of information in the database above?

  7. List all the shapes by their shape-names and with their color-names. No numbers!
    In your command, do not use any MySQL reserved word outside this set
          { SELECT, WHERE, FROM, INTO, AND, OR, NOT }
    Output info might look something like the following...
                   Note, the last two lines are not in error.  
                   There are 2 filled ovals that special color of red.
    
            triangle    fire engine red
            square      green
            FilledOval  blue
            triangle    red
            triangle    blue
            FilledOval  fire engine red
            FilledOval  fire engine red
    

  8. Insert a triangle which is 'robin's egg blue' into snazzy database.

  9. Options for a 2nd (& 3rd?) table