Jump to content

JeopardyDatabase: Difference between revisions

imported>Jesstess
No edit summary
imported>Adamf
Line 79:
=== 1. Look at the layout of the Jeopardy database ===
 
Start sqlite with:
Start sqlite with <code>sqlite3 jeopardy.db</code>. Then look at the tables in your database by running the following commands and the sqlite prompt:
<pre>sqlite3 jeopardy.db</pre>
 
Start sqlite with <code>sqlite3 jeopardy.db</code>. Then look at the tables in your database by running the following commands and the sqlite prompt:
 
* <tt>.table</tt>, which will list the tables in the database
Line 107 ⟶ 110:
* What fields are in the <code>category</code> table?
* What fields are in the <code>clue</code> table?
 
 
=== 2. Query the database with SELECT ===
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.