kaseyhebe 2015-02-02 17:16 采纳率: 0%
浏览 2076
已采纳

请教sql语句的问题。。

table test

id usertype visible
1 animal true
id usertype visible
2 animal true
id usertype visible
3 house true

如何把所有 usertype 是 animal 的 Visible 值改成false?

  • 写回答

6条回答

  • oyljerry 2015-02-02 23:46
    关注

    update test set visible = false where usertype like 'animal'

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?