在SQLite数据库浏览器中创建外键 [英] Create a foreign key in SQLite database browser

查看:209
本文介绍了在SQLite数据库浏览器中创建外键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很抱歉出现新手问题.

我已经使用 SQLite数据库浏览器创建了表格,但是:

I have created my tables using SQLite database browser, but:

  1. 我不知道如何使用该应用程序指定我的外键?

如何在表之间创建关系图?

How can I create a relationship diagram between tables?

推荐答案

我知道很久以前就已经问过这个问题,但是我找到了.它内置在GUI中.您只需要拖动并使名称,类型"选项卡稍小,即可为外键"选项卡腾出空间.将鼠标指针放在末尾并拖动标题.

I know this question has been asked long ago but I found it. Its built right into GUI. You just need to drag and make those Name, Type tabs little bit small to make space for the Foreign Key tab. Place your mouse pointer at the end and drag the header.

我的SQLite浏览器版本是3.7.0版.

My version of SQLite Browser is Version 3.7.0.

这篇关于在SQLite数据库浏览器中创建外键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆