我正在使用Oracle示例:2) 1,2,3,5,11第一个例子是我遇到的问题。我正在编写一个select查询,如: SELECT * from Table where Value IN (1,2,3,6-8,9-11)SELECT * from Table where Value IN (1,2,3,6,7,8,9,10,1
select *,(select top 1 chicken_nr from chicken_photo where code =code order by sort)作为来自鸡的照片
代码是表鸡中的一列基本上就是拿到这只鸡的封面照片。为了更清楚起见,我想让它从表鸡返回多个行。但只有一个来自chicken_photo的条目。