我有一个名为的表SIRKET
和两个名为sirket_unvan
and的列cust_id
。我想查找sirket_unvan
长度超过 15 个字符的单词。
我用
select sirket_unvan from SIRKET where cust_id=0
但是如何找到超过 15 个字符的单词呢?我想将这些话报告给另一个专栏。我认为我应该写程序。一行可以有 2 个或更多超过 15 个字符的单词
cust_id |sirket_unvan
---------+----------------------------------------------
0 | sdsd Afdfdgfdgdgdg fdgfgfgf fgfgf
0 | dfdfds dffd dsfdffggfdgfdgfdgfgdgdfgd fdfdfd
0 | sdfsdfsdf dsfdsfdsfdsdgfgfgf
0 | sdfsdfsd sdfsdfsdf
1 | sdfsdfsdf dsfdsfdsfdsdgfgfgf
2 | dsfdsfs sdfsdfsdgfhfh
我想要这个输出
cust_id | sirket_unvan |longerthan15characterwords
---------+---------------------------------------------+---------------------------
0 | sdsd Afdfdgfdgdgdg fdgfgfgf fgfgf | Afdfdgfdgdgdg
0 | dfdfds dffd dsfdffggfdgfdgfdgfgdgdfgd fdfdfd| dsfdffggfdgfdgfdgfgdgdfgd
0 | sdfsdfsdf dsfdsfdsfdsdgfgfgf | dsfdsfdsfdsdgfgfgf