在學習SML時,我想出了以下問題。看看這個例子: fun check (elem,myList) =
let
fun check1 elem [] = fn (x,_,_) => elem > x
fun check2 elem [] = fn (_,y,_) => elem < y
in
if check1 andalso check2 then 1 else
我需要在1列中選擇相同的值返回值,例如: Select * from Table,這需要回到這樣的: ColumnName | ColumnValue
google 1,2,3,4
facebook 1,2,3,5
的實際查詢,返回此。 ColumnName | ColumnValue
google 1
google 2
google 3
google 4