Software Carpentry Day 9: Databases
Morning
Please download molecules.sql and use
it to create a small SQLite database, then write queries to answer the
following questions:
- What atoms have an atomic weight greater than 15?
- What molecules use more than 4 hydrogen atom?
- What atoms are used in ammonia?
- What atoms are used in either ammonia or water?
Afternoon
- How many atoms are there?
- How many molecules are there?
- What atoms are used in at least one molecule?
- What atoms are not used in any molecules?