Added: 2 years ago
From: Jaynonymous1
Views: 3,893
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (6)

Sign In or Sign Up now to post a comment!
  • When I type 'sqlite3 phonebook.db' at the command prompt and hit enter, I get: 'Enter SQL statements terminated with a ";"' and then I get a cursor that is not like yours. Mine looks like '...>' and when i type the 'create...' line and hit enter, it tells me: 'Error: near "sqlite3": syntax error.'

    Any ideas what is going on?

  • @jamin3d The only thing I can think of is that you were already at the sqlite3> prompt when you typed "sqlite3 phonebook.db". Usually, when you see "...>" it means that you are missing a semicolon. Type ";" a few times and it sometimes goes away.

  • @Jaynonymous1 thanks, I got it!

  • update phonebook set name="Fay Jones" where phone="333-1111" and name="Fay"

  • @athulican What was your comment?

  • nice! thank you

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more