V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
redhatping
V2EX  ›  Python

sqlite3 的一些问题?

  •  
  •   redhatping · 2015-05-12 00:06:33 +08:00 · 2538 次点击
    这是一个创建于 3279 天前的主题,其中的信息可能已经有所发展或是发生改变。
    sqlite> create table movie(title,year);
    sqlite> .tables
    movie
    sqlite> insert into movie values(‘阿甘正传',1999);
    ...> insert into movie valuse('肖申克的救赎',1994);
    ...> select * from movie;
    ...> .help

    到这里,发现错误了,不知道怎么退出?
    6 条回复    2015-05-13 11:31:21 +08:00
    billlee
        1
    billlee  
       2015-05-12 00:36:13 +08:00
    退出? .quit OR Ctrl+D?
    em70
        2
    em70  
       2015-05-12 00:59:38 +08:00 via Android
    阿甘正传也是1994年的
    ynyounuo
        3
    ynyounuo  
       2015-05-12 02:05:02 +08:00   ❤️ 1
    @em70 对的,错误就在这里
    aeshfawre
        4
    aeshfawre  
       2015-05-12 07:36:14 +08:00   ❤️ 1
    ‘阿甘正传' 左右单引号不对吧
    zzxworld
        5
    zzxworld  
       2015-05-12 09:18:15 +08:00
    为啥肖申克前面的是 "valuse"?
    redhatping
        6
    redhatping  
    OP
       2015-05-13 11:31:21 +08:00
    @aeshfawre 谢谢, 没错,就是这个问题,小白了,非常感谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2490 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 101ms · UTC 14:00 · PVG 22:00 · LAX 07:00 · JFK 10:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.