您知道有哪些网站允许执行查询吗?
我想知道是否有任何系统允许我创建自己的表并在这些表上执行查询?我想要这些是因为我的办公室计算机上没有安装任何数据库,并且我想在空闲时间练习查询。
I wanted to know if there is any system which allow me to create my own tables and execute query on those tables? I want these because I don't have any database installed on my office computer and I want to practice queries in my free time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
w3cshcools 提供了一个在线查询执行工具
我在提出问题后得到了这个答案在此论坛中。
There is one online query execution tool provided by w3cshcools
I got this answer after asking a question in this forum.
[以下答案很大程度上假设您使用的是 Windows。]
对于非常快速且肮脏的沙箱,请尝试 SQLite。它附带 sqlite3.exe(请参阅适用于 Windows 的预编译二进制文件部分),它允许您创建表并从命令行对它们运行查询。
由于其动态类型模型,SQLite 的 SQL 方言有点奇怪,因此您可能会通过安装更传统的数据库(例如 PostgreSQL,尽管它比 SQLite 的“安装”更复杂,这相当于提取 .exe 文件并将其粘贴到路径上的某个位置。
[The following answer largely assumes you are using Windows.]
For a very quick-n-dirty sandbox, try SQLite. It comes with sqlite3.exe (see the Precompiled Binaries For Windows section), which lets you create tables and run queries over them from the command-line.
SQLite's dialect of SQL is a bit strange due to its dynamic typing model, so you might get more mileage from installing a more conventional database like PostgreSQL, though it is more involved than SQLite's "installation", which amounts to extracting the .exe file and sticking it somewhere on your path.