iç içe select kullanımı - ms sql
SELECT * FROM TBL_URUNLER
WHERE URUN_KAT IN (SELECT ID FROM TBL_KATEGORILER WHERE KAT_ID = 1 )
AND KAPASITE BETWEEN 2000 AND 2500
ORDER BY KAPASITE, URUN_KAT
SELECT * FROM TBL_URUNLER
WHERE URUN_KAT IN (SELECT ID FROM TBL_KATEGORILER WHERE KAT_ID = 1 )
AND KAPASITE BETWEEN 2000 AND 2500
ORDER BY KAPASITE, URUN_KAT