mysql
Coding_Boy36
android开发工程师
展开
-
数据库查询
链表查询,并且记录答案出现的次数;SELECT uqsub.title AS '题目', uqa.content as '答题内容', uqo.name as'题目选项', uqa.answerid as '序号', uqa.createTime as '时间',原创 2017-07-11 15:30:25 · 212 阅读 · 0 评论 -
oracle 更新前十条数据
只更新前十条数据在项目中,我们可能会遇到只更新数据库的前十条语句,这次我在项目中就遇到按条件更新表中的十条数据下面是我的SQL:UPDATE table SET machine='zhangsan' WHERE token IN(SELECT t.token FROM (SELECT token FROM table where exist=0 and machine is null...原创 2019-08-05 14:57:54 · 2157 阅读 · 0 评论