JeopardyDatabase: Difference between revisions
Content added Content deleted
imported>Jesstess No edit summary |
imported>Adamf |
||
Line 79: | Line 79: | ||
=== 1. Look at the layout of the Jeopardy database === |
=== 1. Look at the layout of the Jeopardy database === |
||
Start sqlite with: |
|||
⚫ | |||
<pre>sqlite3 jeopardy.db</pre> |
|||
⚫ | |||
* <tt>.table</tt>, which will list the tables in the database |
* <tt>.table</tt>, which will list the tables in the database |
||
Line 107: | Line 110: | ||
* What fields are in the <code>category</code> table? |
* What fields are in the <code>category</code> table? |
||
* What fields are in the <code>clue</code> table? |
* What fields are in the <code>clue</code> table? |
||
=== 2. Query the database with SELECT === |
=== 2. Query the database with SELECT === |