我已使用SELECT语句返回这些列,但如果符合某个条件,我需要排除某些行。
答案 0 :(得分:4)
sTumblrGridView.ItemsSource = sTumblrblog_gv_list.OrderBy(a => a.Url).ToArray();
答案 1 :(得分:2)
SELECT
Place,
Code,
Reason,
Country
FROM your_tab
WHERE
(Country = 'CN' AND Place <> 'I' AND Code <> 'R')
OR
(Country = 'JP' AND Place <> 'I' AND Reason <> 'Z')