 
                        有一个schema如下
fish(name,species,tankid)
eat(species1,species2)
其中eat表示鱼类之间相互捕食关系,species1是被捕食的鱼类
tankid表示鱼缸id
需要筛选出:与可以捕食他的鱼(species2)放在同一个鱼缸中(tankid相等)的鱼(species1)的名字
求用sql语句说明
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
闭关修行中......