Home
Sign Up
Sign In
›
MySQL 5.5 Community Server
›
MySQL 5.6 Community Server
›
Percona Configuration Wizard
›
XtraBackup 搭建主从复制
Great Sites on MySQL
›
Percona
›
MySQL Performance Blog
›
Severalnines
推荐管理工具
›
Sequel Pro
›
phpMyAdmin
推荐书目
›
MySQL Cookbook
MySQL 相关项目
›
MariaDB
›
Drizzle
参考文档
›
http://mysql-python.sourceforge.net/MySQLdb.html
Advertisement
V2EX
›
MySQL
菜鸟问题:能做到某个字段的内容是另一个表的查询结果的记录数吗?
clino
·
zhangchunlin
·
Dec 15, 2011
· 5101 views
This topic created in 5447 days ago, the information mentioned may be changed or developed.
例如我想做到一个表的某个字段的内容是另一个表的某个字段为True的查询结果的记录数,能做到吗?
因为不想显示的时候每个都去查询.
数据库方面目前完全是菜鸟阿.
谢谢!
字段
菜鸟
查询
3 replies
•
1970-01-01 08:00:00 +08:00
chloerei
Dec 15, 2011
1
视图?
clino
OP
Dec 15, 2011
2
@
chloerei
看起来应该是这个,先研究一下
clino
OP
Dec 15, 2011
3
哦,其实我现在使用 sqlachemy 在操作数据库,orm这种东东似乎不支持视图,那还是用笨办法好了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1899 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 15:43
·
PVG 23:43
·
LAX 07:43
·
JFK 10:43
♥ Do have faith in what you're doing.
❯